SELECT `id`, `region` FROM `locality` WHERE `api-name` = "посёлок 1-го отделения совхоза "Масловский"" and `region-select` = "1" LIMIT 1 mysqli error #1064: 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 'Масловский"" and `region-select` = "1" LIMIT 1' at line 1