If it's any consolation, T5 is the best of the terminals at Heathrow for F&B options. 5hrs is a bit of a drag mind you and if you have a bag to check I believe in Y they won't even let you do this until 3hrs before departure.
Can you revise your schedule at all?