Use esc_sql() over wpdb::escape(), preferred until someone prepares all these queries.