We must choose a cafe which is near the town or situated in a open place. Isolated cafes are often dangerous. You should also understand the reputation of that shop.
Verify that there is no camera in the browsing area.
Make sure that no screen recording apps are running.
verify that there is no extra fitting in keyboard wire. That fitting could stole the data you type. Types passwords etc using virtual keyboard.
Use incognito mode while browsing or clear history, cookies etc after browsing.
Sign out from every accounts.
Dont plug any usb etc to the system.