Food buffs last for 30 minutes after you eat the food that provides them. And you can only have one food's buffs active at a time. They all give a slight XP boost, and then depending on the food type, a slight boost to any of several other stats as well.