\[ \boxed { {x}^{2}{\frac {{\rm d}^{2}}{{\rm d}{x}^{2}}}y \left ( x \right ) + \left ( a{x}^{{\it a1}}+b \right ) x{\frac {\rm d}{{\rm d}x}}y \left ( x \right ) + \left ( A{x}^{2\,{\it a1}}+B{x}^{{\it a1}}+C{x}^{{\it b1}}+{\it DD} \right ) y \left ( x \right ) =0} \]
Mathematica: cpu = 1.452184 (sec), leaf count = 50 \[ \text {DSolve}\left [x y'(x) \left (a x^{\text {a1}}+b\right )+y(x) \left (A x^{2 \text {a1}}+B x^{\text {a1}}+C x^{\text {b1}}+\text {DD}\right )+x^2 y''(x)=0,y(x),x\right ] \]
Maple: cpu = 0.546 (sec), leaf count = 56 \[ \left \{ y \left ( x \right ) ={\it DESol} \left ( \left \{ {\frac { {\rm d}^{2}}{{\rm d}{x}^{2}}}{\it \_Y} \left ( x \right ) +{\frac { \left ( a{x}^{{\it a1}}+b \right ) {\frac {\rm d}{{\rm d}x}}{\it \_Y} \left ( x \right ) }{x}}+{\frac { \left ( A{x}^{2\,{\it a1}}+B{x}^{{\it a1}}+C{x}^{{\it b1}}+{\it DD} \right ) {\it \_Y} \left ( x \right ) }{{x} ^{2}}} \right \} , \left \{ {\it \_Y} \left ( x \right ) \right \} \right ) \right \} \]