SELECT bannerid FROM `oto_sqban_iplog` WHERE ipaddress='18.117.80.241' AND imgid='999999' LIMIT 1