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