Upvote:3
The site https://www.gob.mx/viajasinplagas has a list of foods that are and are not allowed (in Spanish or English). Notably, all homemade and handmade foods are forbidden, as well as fresh meats and cheeses.
(Incidentally, while researching this, I also found that it is forbidden to bring Garbage Pail Kids cards into Mexico!)