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