Why would you close your kitchen 30 minutes before your listed hours? That's just bad business.
Maybe that's not how it is in Thailand, but in every American restaurant I've ever been in, you can walk in at 9:27 and get served. Yes, it's s****y of you to do so, but the hours listed are the hours the kitchen is open.