I flew out of MEX awhile back and 2 hours should be quite safe, although it wasn't on a Sunday a.m.
I'd be more concerned with making sure you have a large buffer with your travel time to the airport as traffic can be horrendous, even during times that you wouldn't expect it to be.