SELECT bannerid FROM `oto_sqban_iplog` WHERE ipaddress='3.236.170.171' AND imgid='787878' LIMIT 1