SELECT `l`.* FROM `amasty_geoip_location` AS `l` INNER JOIN `amasty_geoip_block` AS `b` ON b.geoip_loc_id = l.geoip_loc_id WHERE (1796619694 between b.start_ip_num and b.end_ip_num) LIMIT 1