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