The mod Quick Eat Keybinds for Stardew Valley. Nexus link: https://www.nexusmods.com/stardewvalley/mods/30081
What it does:
Allows you to set keybinds for eating the currently selected item (if edible) and for eating the item in your inventory with the most energy or health.