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