Regardless of the time of day you decide to fly, the ticket price will remain around the same. Book flights from Mexico City to Sardinia as you normally would.
Mexico City Benito Juarez (MEX), located 5.5 mi from the city center, is the airport you fly out of when you book flights from Mexico City to Sardinia.