Error in query: SELECT `code`,`from`,`till`,`operator` FROM `phones_prefixes_personal` where `code` = 7022 AND `from` <= 277691 AND `till` >= 277691