Mysqli prepare error: Unknown column 'login' in 'where clause'

Link to previous similar question:

I encounter also a similar issue on our test instance, but on segment creation:
Mysqli prepare error: Unknown column ‘hash’ in ‘field list’
The issue appeared suddenly, and does not appear on our production instance (same version: 4.3.1)

Maybe it is related to MySQL itself?
@innocraft any idea?