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