public static function getLocked($key) { return ipDb()->selectAll('email_queue', '*', array('lock' => $key)); }