The necessary and sufficient condition for the quinary cyclic codes with generator polynomial(x+1)m;(x)m;e(x) to have parameters [5;-1, 5;-2m-2, 4]is provided by analyzing solutions of certain equations over the finite field F;. And thus several classes of new optimal quinary cyclic codes with the same parameters and generator polynomial are constructed based on analyzing irreducible factors of certain polynomials with low degrees over finite fields.