Run query to database query zone waypoints