If you change the ab=ac=bc=27 to ab+ac+bc=27 you get a problem that makes sense and is considerably more difficult that the one obtained by replacing 27 with 25.
If we let P(x) be the monic polynomial with roots at a,b,c, then P(x)=x^3-15x^2+27x+c for some real c. The problem amounts to finding the values of c for which P has three real roots. This can be done using a substitution y=(x-5) and the depressed cubic discriminant:
y^3+Ay+B=0 has three real roots <=> 4A^3+27B^2<0
which is easily derived by considering extrema of the function y^3+Ay+B.
Upon applying the cubic discriminant, all that is left is to solve a quadratic inequality.