Times have changed
In my two decades of living in Thailand, I have experienced some occasional prejudice, but no openly hostile racism. This has changed, from what I can see. The Covid virus has legitimised more aggressive hating on foreigners. Society has somehow allowed this to creep into acceptable behaviour. Part of this may come from deflection of the nation's inability to get control of the pandemic effectively and looking silly on the world stage; the other part may always have been there, under the surface, waiting for an excuse!
Mark