SELECT bannerid FROM `oto_sqban_iplog` WHERE ipaddress='3.235.20.185' AND imgid='777777' LIMIT 1