Place it at the reveal of the ham, then follow it with a laugh or a dramatic sting so the food moment lands before the next scene, and keep it before any closing reaction so the joke stays the focus.