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