Run query to database query zone doors