SELECT 1 FROM ip_address_country_lookup WHERE INET_ATON('') BETWEEN start_ip_int AND end_ip_int AND country = 'Canada' 2017-09-23 05:09:56