Green’s Dictionary of Slang

five and two n.

also seven and a three, twenty and a ten
[at 1970s rates he charges $5.00 for his services plus $2.00 for a room; such figures have been subject to inflation or perhaps imply the ‘quality’ of the prostitute]

(gay) a male homosexual prostitute (cf. fifty and a ten n.).

[US]B. Rodgers Queens’ Vernacular 82: five and a two! (exclam, kwn Cleveland, fr pros sl = five dollars for the room and two for the body) squealed upon sighting an attractive man; often worked into an open proposal. Syn: seven and a three; twenty and a ten (inflation?).
[US]Maledicta III:2 223: Five and two (five pounds or dollars for the services of a UK rent boy or US hustling midnight cowboy, plus two for the room) is pre-inflationary.