Other than the approximate age of Nuh AS, we have no knowledge of any other prophet’s age from the Quran. We know the age of prophet Muhammad SAW and some estimates can be made for prophets Jesus and Moses from historical evidence, but that’s about all we know.
Prophets are chosen from among the people that they’re sent to. If the people in a given community at a given point in history have a longer lifespan, prophets and messengers in that community will most likely have that too.
Lifespan of people has fluctuated in time and space due to various factors. While at this time the global average lifespan is over 70 years, in 1900 it was only about 30 years.