A lot of them work online for their current Russian employers. Since the pandemic, online work has become the norm. The cost of living in Thailand is lower than in Russia, even including visa expenses. So most of them can stay in Thailand indefinitely without any issues.