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