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