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