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