SELECT bannerid FROM `oto_sqban_iplog` WHERE ipaddress='172.70.100.87' AND imgid='456789' LIMIT 1