deli ham left in warm car
This is really an issue of risk.

The USDA's recommendation is not to consume meat that has experienced more than four hours of cumulative time between 40° and 140° F. Essentially, that means that the level of risk of illness from food-borne pathogens is acceptable in that range. The government's position is that 5 hours beyond a level of risk that they are willing to expose the public to. 

Also be aware that (sliced) deli meat is more prone to pathogens that a whole ham.

That said, it comes down to what level of risk you are comfortable with. Personally, I would probably eat it myself, but not serve it to others.