SELECT 
  netting_products.*, 
  netting_product_descriptions.*, 
  COALESCE(
    netting_master_products_storefront_min_price.price, 
    MIN(
      IF(
        netting_product_prices.percentage_discount = 0, 
        netting_product_prices.price, 
        netting_product_prices.price - (
          netting_product_prices.price * netting_product_prices.percentage_discount
        )/ 100
      )
    )
  ) as price, 
  GROUP_CONCAT(
    CASE WHEN (
      netting_products_categories.link_type = 'M'
    ) THEN CONCAT(
      netting_products_categories.category_id, 
      'M'
    ) ELSE netting_products_categories.category_id END 
    ORDER BY 
      netting_categories.storefront_id IN (0, 1) DESC, 
      (
        netting_products_categories.link_type = 'M'
      ) DESC, 
      netting_products_categories.category_position ASC, 
      netting_products_categories.category_id ASC
  ) as category_ids, 
  popularity.total as popularity, 
  companies.company as company_name, 
  netting_products.master_product_id, 
  netting_products.master_product_status, 
  netting_products.is_returnable, 
  netting_products.return_period, 
  netting_product_sales.amount as sales_amount, 
  netting_seo_names.name as seo_name, 
  netting_seo_names.path as seo_path, 
  netting_booking_and_reservation.booking_type as booking_type, 
  netting_booking_and_reservation.date_from as date_from, 
  netting_booking_and_reservation.date_to as date_to, 
  netting_booking_and_reservation.book_time as book_time, 
  netting_booking_and_reservation.break_time as break_time, 
  netting_booking_and_reservation.week_data as week_data, 
  netting_booking_and_reservation.apply_same_slots as apply_same_slots, 
  netting_discussion.type as discussion_type, 
  netting_product_review_prepared_data.average_rating average_rating, 
  netting_product_review_prepared_data.reviews_count product_reviews_count 
FROM 
  netting_products 
  LEFT JOIN netting_product_prices ON netting_product_prices.product_id = netting_products.product_id 
  AND netting_product_prices.lower_limit = 1 
  AND netting_product_prices.usergroup_id IN (0, 0, 1) 
  LEFT JOIN netting_product_descriptions ON netting_product_descriptions.product_id = netting_products.product_id 
  AND netting_product_descriptions.lang_code = 'en' 
  LEFT JOIN netting_companies as companies ON companies.company_id = netting_products.company_id 
  INNER JOIN netting_products_categories ON netting_products_categories.product_id = netting_products.product_id 
  INNER JOIN netting_categories ON netting_categories.category_id = netting_products_categories.category_id 
  AND netting_categories.storefront_id IN (0, 1) 
  AND (
    netting_categories.usergroup_ids = '' 
    OR FIND_IN_SET(
      0, netting_categories.usergroup_ids
    ) 
    OR FIND_IN_SET(
      1, netting_categories.usergroup_ids
    )
  ) 
  AND (
    netting_products.usergroup_ids = '' 
    OR FIND_IN_SET(
      0, netting_products.usergroup_ids
    ) 
    OR FIND_IN_SET(
      1, netting_products.usergroup_ids
    )
  ) 
  AND netting_categories.status IN ('A', 'H') 
  AND netting_products.status IN ('A', 'H') 
  LEFT JOIN netting_product_popularity as popularity ON popularity.product_id = netting_products.product_id 
  LEFT JOIN netting_master_products_storefront_min_price ON netting_master_products_storefront_min_price.product_id = netting_products.product_id 
  AND netting_master_products_storefront_min_price.storefront_id = 1 
  LEFT JOIN netting_product_sales ON netting_product_sales.product_id = netting_products.product_id 
  AND netting_product_sales.category_id = 317 
  LEFT JOIN netting_seo_names ON netting_seo_names.object_id = 298 
  AND netting_seo_names.type = 'p' 
  AND netting_seo_names.dispatch = '' 
  AND netting_seo_names.lang_code = 'en' 
  LEFT JOIN netting_booking_and_reservation ON netting_booking_and_reservation.product_id = netting_products.product_id 
  AND netting_booking_and_reservation.product_id = 298 
  LEFT JOIN netting_discussion ON netting_discussion.object_id = netting_products.product_id 
  AND netting_discussion.object_type = 'P' 
  LEFT JOIN netting_product_review_prepared_data ON netting_product_review_prepared_data.product_id = netting_products.product_id 
  AND netting_product_review_prepared_data.storefront_id = 0 
WHERE 
  netting_products.product_id = 298 
  AND (
    companies.status IN ('A') 
    OR netting_products.company_id = 0
  ) 
GROUP BY 
  netting_products.product_id

Query time 0.00128

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "netting_master_products_storefront_min_price",
          "access_type": "system",
          "possible_keys": ["PRIMARY"],
          "rows": 0,
          "filtered": 0,
          "const_row_not_found": true
        }
      },
      {
        "table": {
          "table_name": "netting_products",
          "access_type": "const",
          "possible_keys": ["PRIMARY", "status"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["product_id"],
          "ref": ["const"],
          "rows": 1,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "popularity",
          "access_type": "const",
          "possible_keys": ["PRIMARY", "total"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["product_id"],
          "ref": ["const"],
          "rows": 1,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "netting_product_sales",
          "access_type": "const",
          "possible_keys": ["PRIMARY", "pa"],
          "key": "PRIMARY",
          "key_length": "6",
          "used_key_parts": ["category_id", "product_id"],
          "ref": ["const", "const"],
          "rows": 0,
          "filtered": 0,
          "unique_row_not_found": true
        }
      },
      {
        "table": {
          "table_name": "netting_product_prices",
          "access_type": "ref",
          "possible_keys": [
            "usergroup",
            "product_id",
            "lower_limit",
            "usergroup_id"
          ],
          "key": "product_id",
          "key_length": "3",
          "used_key_parts": ["product_id"],
          "ref": ["const"],
          "rows": 1,
          "filtered": 99.56521606,
          "attached_condition": "trigcond(netting_product_prices.lower_limit = 1 and netting_product_prices.usergroup_id in (0,0,1))"
        }
      },
      {
        "table": {
          "table_name": "netting_product_descriptions",
          "access_type": "const",
          "possible_keys": ["PRIMARY", "product_id"],
          "key": "PRIMARY",
          "key_length": "9",
          "used_key_parts": ["product_id", "lang_code"],
          "ref": ["const", "const"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "trigcond(netting_product_descriptions.lang_code = 'en')"
        }
      },
      {
        "table": {
          "table_name": "companies",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "4",
          "used_key_parts": ["company_id"],
          "ref": ["const"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "trigcond(companies.`status` = 'A')"
        }
      },
      {
        "table": {
          "table_name": "netting_products_categories",
          "access_type": "ref",
          "possible_keys": ["PRIMARY", "pt"],
          "key": "pt",
          "key_length": "3",
          "used_key_parts": ["product_id"],
          "ref": ["const"],
          "rows": 1,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "netting_categories",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY", "c_status", "p_category_id"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["category_id"],
          "ref": ["pucuda_cscart.netting_products_categories.category_id"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "netting_categories.storefront_id in (0,1) and (netting_categories.usergroup_ids = '' or find_in_set(0,netting_categories.usergroup_ids) or find_in_set(1,netting_categories.usergroup_ids)) and netting_categories.`status` in ('A','H')"
        }
      },
      {
        "table": {
          "table_name": "netting_seo_names",
          "access_type": "ref",
          "possible_keys": ["PRIMARY", "dispatch"],
          "key": "PRIMARY",
          "key_length": "206",
          "used_key_parts": ["object_id", "type", "dispatch", "lang_code"],
          "ref": ["const", "const", "const", "const"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "trigcond(netting_seo_names.`type` = 'p' and netting_seo_names.dispatch = '' and netting_seo_names.lang_code = 'en')"
        }
      },
      {
        "table": {
          "table_name": "netting_booking_and_reservation",
          "access_type": "const",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "4",
          "used_key_parts": ["product_id"],
          "ref": ["const"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "trigcond(trigcond(<cache>(298 = 298)) and trigcond(<cache>(298 = 298)) and trigcond(<cache>(298 = 298)) and trigcond(<cache>(298 = 298)) and trigcond(<cache>(298 = 298)) and trigcond(<cache>(298 = 298))) and trigcond(<cache>(298 = 298)) and trigcond(<cache>(298 = 298)) and trigcond(<cache>(298 = 298))"
        }
      },
      {
        "table": {
          "table_name": "netting_discussion",
          "access_type": "const",
          "possible_keys": ["object_id"],
          "key": "object_id",
          "key_length": "6",
          "used_key_parts": ["object_id", "object_type"],
          "ref": ["const", "const"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "trigcond(netting_discussion.object_type = 'P')"
        }
      },
      {
        "table": {
          "table_name": "netting_product_review_prepared_data",
          "access_type": "const",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "7",
          "used_key_parts": ["product_id", "storefront_id"],
          "ref": ["const", "const"],
          "rows": 1,
          "filtered": 100
        }
      }
    ]
  }
}

Result

product_id product_code product_type status company_id list_price amount weight length width height shipping_freight low_avail_limit timestamp updated_timestamp usergroup_ids is_edp edp_shipping unlimited_download tracking free_shipping zero_price_action is_pbp is_op is_oper is_returnable return_period avail_since out_of_stock_actions localization min_qty max_qty qty_step list_qty_count tax_ids age_verification age_limit options_type exceptions_type details_layout shipping_params facebook_obj_type parent_product_id buy_now_url units_in_product show_price_per_x_units ebay_template_id product_hash ebay_price package_type ebay_status ebay_override_price master_product_id master_product_status master_product_offers_count is_stock_split_by_warehouses staff_notes designable rf_price_day rf_price_week rf_price_month rf_price_pledge cp_allow_installment_payments cp_is_installment_product upc_code tax_code is_rfq lang_code product shortname short_description full_description meta_keywords meta_description search_words page_title age_warning_message promo_text unit_name ebay_title ebay_description override price category_ids popularity company_name sales_amount seo_name seo_path booking_type date_from date_to book_time break_time week_data apply_same_slots discussion_type average_rating product_reviews_count
298 MF-2443-B57AF-Kinas P A 3 0.15 1000 0.000 0 0 0 0.00 0 1734634468 1739371854 0 N N N N N N N N 10 1734498000 N N 0 default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 0.000 1.000 0 4184632908 Letter N 0 A 0 N N 0.000 0.000 0.000 0.000 N N N en Cuda 1/4 lashing cord with shrinking core <p><strong>Cuda Shrinking 1/4 Lashing Cord</strong></p> <p><br>This jacketed cord shall be manufactured from first quality Pavalon Yarn Core, with a braided poly blend jacket. The braided jacket shall be manufactured from super soft yarns type S15. The yarns shall have color throughout and dyeing of yarns unacceptable. The color extrusion process reduces the fading process and effects of UV Light.</p> <p><span style="background-color:rgb(255,255,255);color:rgb(0,0,0);"><span style="font-family:Poppins," sans-serif,="" sans-serif;font-size:14px;font-style:normal;font-weight:400;text-align:left;word-spacing:0px;="">Price is per sq foot. Selecting qty is per &nbsp;oot ie qty 10 = 10 ft</span></span></p> <p></p> <figure><table><tbody><tr><td><p><span class="fontstyle0">Product Details</span>&nbsp;&nbsp;</p></td><td><p><span class="fontstyle0">Specifications</span>&nbsp;&nbsp;</p></td></tr><tr><td><span class="fontstyle0">Material</span></td><td>Pavalon/Polypropene</td></tr><tr><td><span class="fontstyle0">Nominal Diameter</span></td><td><span class="fontstyle2">ΒΌ"</span></td></tr><tr><td><span class="fontstyle0">Color</span></td><td>&nbsp;</td></tr><tr><td><span class="fontstyle0">Tensile Strength</span></td><td><span class="fontstyle2">1330 lbs.</span></td></tr><tr><td><span class="fontstyle0">Weight Per 72'</span></td><td><span class="fontstyle2">1 lbs</span></td></tr></tbody></table></figure> <figure><img src="https://mp.netting.com/storage/image-11.png" alt="image-11.png" width="1100" height="713" style="font-family: var(--primary-font),sans-serif; border-style: none; display: block; margin: 0px auto; min-width: 100%;"></figure> <p><span style="background-color:rgb(255,255,255);color:rgb(0,0,0);"></span></p> 0.15000000 317M 25610 Pucuda Manufacturing 18-lashing-cord-with-shrinking-core-139 310/317 D