SELECT userid FROM adgth_ips WHERE userid='1' AND userip='12da7f8d'