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