Agree with Carol now retired… I’d stay at the airport.
Also concur that you pick one major site, at the most two. That means keeping it pretty central. If you intend to stay in central London and Uber to and from Heathrow you don’t have to be quite as careful to choose a hotel next to the tube (Elizabeth or Piccadilly lines). Otherwise, I would choose the attractions you want to see based on ease of getting there by tube, since you don’t have much time.
Excellent pub a block from Piccadilly Circus: the Devonshire, at 17 Denman Street. Perfect pint of Guinness, excellent food, so this could count as a dinner option, too. This place is higher end than “pub grub” but worth it.
Best fish and chips in London (IMHO) is the Golden Union, 38 Poland Street. A quick walk from the Oxford Circus tube stop.
Perennial faves of many on this board: Dishoom, Gunpowder, the Ivy (any location) or the Ivy Asia. Honest Burger for burgers. Pret a Manger for something healthy and quick. Wagamama, Itsu…
For sightseeing: what are you interested in? There is SO MUCH to choose from - the mind boggles!
Whatever you choose, you’ll have a blast. This city is AMAZING!
Oh - and a quick thought: does the RS guidebook have a “24 hour layover” section for London? If not, it should. This is a frequent question here. :-)