+        $query .= '`' . $key . '` = ? AND ';