Effective April 1, 1945, any person employed on or after that date must attain the age of 55 years and have served 25 years before being eligible to retire on a pension, provided, however, the provisions of this section shall not apply to any person on the payroll as of March 31, 1945, nor any person claiming a pension by reason of permanent disability.