All persons becoming members of such police department on or after April 1, 1945, must attain 55 years of age and have served a minimum of 25 years to be eligible to retire as a matter of right; provided, however, that this provision shall not apply in cases of actual total and permanent disability nor to any members ofsaid department as of March 31, 1945, but shall apply solely to those employed or becoming members of said department after March 31, 1945.