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