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