Self-serving in a buffet restaurant is not allowed and diners can stay just one hour, Ministry of Public Health regulations say for dining in restaurants in dark red zones.
https://www.bangkokpost.com/thailand/general/2174867/no-self-service-at-buffets