SQL error.
Illegal mix of collations (cp1251_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='
SELECT id FROM ab_tags WHERE tag='ТМ Лежебока' LIMIT 1