SELECT id FROM fuseguard_ip WHERE ip_list_id = ? AND ip_version = 4 AND ip_start <= ? AND ip_end >= ?