\[ 4 y''(x)+4 \tan (x) y'(x)+y(x) \left (-\left (5 \tan ^2(x)+2\right )\right )=0 \] ✓ Mathematica : cpu = 0.109282 (sec), leaf count = 180
\[\left \{\left \{y(x)\to -\frac {(-1)^{7/8} 2^{5/8} c_1}{\sqrt [8]{-8 \cos ^2(2 x)-16 \cos (2 x)-8}}+\frac {3 (-1)^{5/8} c_2 \left (4 \sqrt [4]{-1} 2^{3/4} \sinh ^{-1}\left (\frac {1}{2} \sqrt [4]{-\frac {1}{2}} \sqrt [4]{-8 \cos ^2(2 x)-16 \cos (2 x)-8}\right )-i \sqrt [4]{-8 \cos ^2(2 x)-16 \cos (2 x)-8} \sqrt {8+i \sqrt {2} \sqrt {-8 \cos ^2(2 x)-16 \cos (2 x)-8}}\right )}{8 \sqrt [8]{2} \sqrt [8]{-8 \cos ^2(2 x)-16 \cos (2 x)-8}}\right \}\right \}\] ✓ Maple : cpu = 0.17 (sec), leaf count = 31
\[ \left \{ y \left ( x \right ) ={(i\cos \left ( x \right ) \sin \left ( x \right ) {\it \_C2}-\ln \left ( \sin \left ( x \right ) +i\cos \left ( x \right ) \right ) {\it \_C2}+{\it \_C1}){\frac {1}{\sqrt {\cos \left ( x \right ) }}}} \right \} \]