We will prove that the maximal value of the given expression P is 163. Indeed, applying these inequalities
x4+y4≥xy(x2+y2) and (xy+z2)2≥4xyz2,
we have
(x4+y4)(xy+z2)3≥4x2y2z2(x2+y2)(xy+z2)≥4x2y2z2(z2x2+z2y2+2x2y2).
Thus, we have
(x4+y4)(xy+z2)3x3y4z3≤4x2y2z2(z2x2+z2y2+2x2y2)x3y4z3=4(z2x2+z2y2+2x2y2)xy2z
We will prove that ∑z2x2+z2y2+2x2y2xy2z≤43. Put a=xy, b=yz and c=zx, the left hand side becomes
∑2a2+b2+c2ab≤43.
If a≥b≥c then ab≥ac≥bc and
2c2+a2+b21≥2b2+c2+a21≥2a2+b2+c21.
Applying the rearrangement inequality, we have
∑2a2+b2+c2ab≤∑2c2+a2+b2ab.
By AM-GM and Cauchy-Schwarz inequalities, we obtain that
4∑2c2+a2+b2ab≤∑2c2+a2+b2(a+b)2≤∑(c2+a2a2+c2+b2b2)=3.
Hence, P=∑(x4+y4)(xy+z2)3x3y4z3≤163.
The equality holds if and only if a=b=c or x=y=z. Therefore, the maximal value of the given expression is 163. □