Periodic orbits from second order perturbation via rational trigonometric integrals