SELECT bannerid FROM `oto_sqban_iplog` WHERE ipaddress='34.239.176.54' AND imgid='222222' LIMIT 1