Ending the Iran war could help ease the pressure, but the worst is likely still to come for categories like food, according to economists.