I don't see the appeal of working in a café. It's like a noisy office, except you need to keep paying for your coffee. Might as well commute to the office where the coffee is part of the deal in my opinion.
So, for me, with my ADHD addled brain, I can be quite productive.
[0]: https://www.washingtonpost.com/wellness/2022/06/01/virtual-b...
Bit some cafés are very quiet, have delicious drinks and food, good music and are (IMO) perfect for some light to mild-focused tasks.