SELECT bannerid FROM `oto_sqban_iplog` WHERE ipaddress='3.229.123.80' AND imgid='666666' LIMIT 1