You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like '1' AND is_region like '1' AND (type='' OR type='mix') order by name_ru' at line 1