During most of the Mesozoic Era, the Earth was warmer than present.
This is because during the Mesozoic era the land were far away from water bodies which led to prevalence of deserts while today the land are much more closer to the water bodies. It’s a known fact that water bodies help in the thermoregulation and cooling of the atmosphere.
This is the main and feasible reason why the Earth was warmer in the Mesozoic era than now.
Sumera were the first people, to migrate to Mesopotamia and created a great civilization along the 5500 million years they build the settlements along the river valleys. They had advanced levels of technology such as irrigation techniques.