All-inclusive week, ruins loop or a month away
A week at a resort in Cancún's Hotel Zone or in Playa del Carmen, with a day trip to Chichén Itzá or the cenotes, needs little data if the hotel wifi is decent: the 3 GB pack, valid for 15 days, is enough. Spend those days on the road instead, driving down the Riviera Maya to Tulum and Bacalar and checking maps, reviews and tour times as you go, and the 5 GB pack, valid for 30 days, is the safer choice.
Add Mexico City, Oaxaca or a longer loop through the Yucatán, and two or three weeks fit the 10 GB pack. The 20 GB pack is for a month, or for working from a laptop over the hotspot. If you run short, top up the same eSIM without reinstalling it, and use the data calculator to size your own route.