In the UK, it's a big pub chain called Wetherspoons. City centres often have multiple of them too. I don't think any of the toilets need an access code, unlike a lot of other places.
You can get a £2 pint of cider or ~£1.80 half-decent coffee while you're there too
Then you need another piss