Original: If prostitution in general is legal there is usually a minimum age requirement for legal prostitution that is higher than the general age of consent (see above for some examples).
Simplified: In most countries, prostitutes do need to be of a certain age, which is usually higher than the age of consent.