For the case $1\leq p_1 < p_2 < \infty$, let $p=p_2/p_1 >1$. Then take any $f \in L^{p_2}(E)$, this means
$$
\int_{E} |f|^{p_2} dm < \infty
$$
Now, using that $p=p_2/p_1$ we observe that
$$
\int_{E} |f^{p_1}|^{p} dm = \int_{E} |f|^{ p_1 \cdot p} dm =\int_{E} |f|^{p_2} dm < \infty
$$
Thus indeed $f^{p_1} \in L^p(E)$. Now for the rest, note that if $q$ is the conjugate of $p$ ($1/p + 1/q=1$), then clearly, since $m(E)<\infty$, the constant function $1 \in L^q(E)$, and then by Hölder inequality we get that
$$
\int_E |f|^{p_1}dm=\int_E |f|^{p_1} \cdot 1 dm \leq \left(\int_E \left| \ |f|^{p_1} \right|^p dm \right)^{1/p} \cdot \left(\int_E 1^q dm\right)^{1/q} = \left(\int_E |f|^{p_2} dm \right)^{1/p} \cdot (m(E))^{1/q}
$$
But the last part is $< \infty$ since $\int_E |f|^{p_2} dm<\infty$ and $m(E)<\infty$. So we just get that $\int_E |f|^{p_1}dm< \infty$, and hence $f\in L^{p_1}(E)$, which implies indeed that $L^{p_2}(E) \subset L^{p_1}(E)$.
Finally, since $1/p+1/q=1$, then $q=p/(p-1) = p_2/(p_2-p_1)$. Then the last inequality can be seen as
$$
\| f \|^{p_1}_{p_1} \leq \left(\| f \|_{p_2}^{p_2}\right)^{1/p} (m(E))^{\frac{p_2-p_1}{p_2}} = \| f \|_{p_2}^{p_1} (m(E))^{\frac{p_2-p_1}{p_2}}
$$
Then, elevating to $1/p_1$ both sides, we conclude that indeed
$$
\| f \|^{p_1} \leq \| f \|_{p_2} (m(E))^{\frac{p_2-p_1}{p_1p_2}}
$$