Read the room before the menu. Local places fill with regulars who greet the staff; tourist places have greeters pulling you in from the street. A short menu in one language beats a laminated six-language book with photographs every time. Lunch hours tell the truth most clearly: follow office workers, taxi drivers, and students at midday, since they eat where food is good and cheap by necessity, and set lunch menus are often the best value in the country.
Geography helps: walk two or three streets away from any major sight, and look around markets, commuter hubs, and residential neighbourhoods. A queue of locals outside a street stall is the single most reliable quality signal that exists, and high turnover means fresh food, which is the real street-food safety rule.
Order whatever the place is known for, or point at what the next table is having. Asking your driver or barber where they eat, rather than where you should eat, unlocks the real list.