SELECT 
  cscart_products.product_id, 
  cscart_products.company_id, 
  GROUP_CONCAT(
    IF(
      cscart_products_categories.link_type = 'M', 
      CONCAT(
        cscart_products_categories.category_id, 
        'M'
      ), 
      cscart_products_categories.category_id
    )
  ) as category_ids, 
  cscart_products.product_code, 
  cscart_products.weight, 
  cscart_products.tracking, 
  cscart_product_descriptions.product, 
  cscart_product_descriptions.short_description, 
  cscart_products.is_edp, 
  cscart_products.edp_shipping, 
  cscart_products.shipping_freight, 
  cscart_products.free_shipping, 
  cscart_products.zero_price_action, 
  cscart_products.tax_ids, 
  cscart_products.qty_step, 
  cscart_products.list_qty_count, 
  cscart_products.max_qty, 
  cscart_products.min_qty, 
  cscart_products.amount as in_stock, 
  cscart_products.shipping_params, 
  cscart_companies.status as company_status, 
  cscart_products.out_of_stock_actions, 
  cscart_products.updated_timestamp, 
  cscart_company_descriptions.i18n_company as company_name 
FROM 
  cscart_products 
  LEFT JOIN cscart_product_descriptions ON cscart_product_descriptions.product_id = cscart_products.product_id 
  AND cscart_product_descriptions.lang_code = 'en' 
  INNER JOIN cscart_products_categories ON cscart_products_categories.product_id = cscart_products.product_id 
  INNER JOIN cscart_categories ON cscart_categories.category_id = cscart_products_categories.category_id 
  AND cscart_categories.storefront_id IN (0, 1) 
  AND (
    cscart_categories.usergroup_ids = '' 
    OR FIND_IN_SET(
      0, cscart_categories.usergroup_ids
    ) 
    OR FIND_IN_SET(
      1, cscart_categories.usergroup_ids
    )
  ) 
  AND (
    cscart_products.usergroup_ids = '' 
    OR FIND_IN_SET(
      0, cscart_products.usergroup_ids
    ) 
    OR FIND_IN_SET(
      1, cscart_products.usergroup_ids
    )
  ) 
  AND cscart_categories.status IN ('A', 'H') 
  AND cscart_products.status IN ('A', 'H') 
  LEFT JOIN cscart_companies ON cscart_companies.company_id = cscart_products.company_id 
  LEFT JOIN cscart_company_descriptions ON cscart_company_descriptions.company_id = cscart_products.company_id 
  AND cscart_company_descriptions.lang_code = 'en' 
WHERE 
  cscart_products.product_id = 966 
GROUP BY 
  cscart_products.product_id

Query time 0.00800

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "7.00"
    },
    "grouping_operation": {
      "using_filesort": false,
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_products",
            "access_type": "const",
            "possible_keys": [
              "PRIMARY",
              "status"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "product_id"
            ],
            "key_length": "3",
            "ref": [
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 1,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.10",
              "prefix_cost": "0.00",
              "data_read_per_join": "4K"
            },
            "used_columns": [
              "product_id",
              "product_code",
              "status",
              "company_id",
              "amount",
              "weight",
              "shipping_freight",
              "updated_timestamp",
              "usergroup_ids",
              "is_edp",
              "edp_shipping",
              "tracking",
              "free_shipping",
              "zero_price_action",
              "out_of_stock_actions",
              "min_qty",
              "max_qty",
              "qty_step",
              "list_qty_count",
              "tax_ids",
              "shipping_params"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_product_descriptions",
            "access_type": "const",
            "possible_keys": [
              "PRIMARY",
              "product_id"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "product_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 1,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.10",
              "prefix_cost": "0.00",
              "data_read_per_join": "4K"
            },
            "used_columns": [
              "product_id",
              "lang_code",
              "product",
              "short_description"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_companies",
            "access_type": "const",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "company_id"
            ],
            "key_length": "4",
            "ref": [
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 1,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.10",
              "prefix_cost": "0.00",
              "data_read_per_join": "6K"
            },
            "used_columns": [
              "company_id",
              "status"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_company_descriptions",
            "access_type": "const",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "company_id",
              "lang_code"
            ],
            "key_length": "10",
            "ref": [
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 1,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.10",
              "prefix_cost": "0.00",
              "data_read_per_join": "1K"
            },
            "used_columns": [
              "company_id",
              "lang_code",
              "i18n_company"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_products_categories",
            "access_type": "ref",
            "possible_keys": [
              "PRIMARY",
              "pt"
            ],
            "key": "pt",
            "used_key_parts": [
              "product_id"
            ],
            "key_length": "3",
            "ref": [
              "const"
            ],
            "rows_examined_per_scan": 10,
            "rows_produced_per_join": 10,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "2.50",
              "eval_cost": "1.00",
              "prefix_cost": "3.50",
              "data_read_per_join": "160"
            },
            "used_columns": [
              "product_id",
              "category_id",
              "link_type"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_categories",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY",
              "c_status",
              "p_category_id"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "category_id"
            ],
            "key_length": "3",
            "ref": [
              "wearethehelpful_scalesta_net.cscart_products_categories.category_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "5.00",
            "cost_info": {
              "read_cost": "2.50",
              "eval_cost": "0.05",
              "prefix_cost": "7.00",
              "data_read_per_join": "1K"
            },
            "used_columns": [
              "category_id",
              "storefront_id",
              "usergroup_ids",
              "status"
            ],
            "attached_condition": "((`wearethehelpful_scalesta_net`.`cscart_categories`.`storefront_id` in (0,1)) and ((`wearethehelpful_scalesta_net`.`cscart_categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`wearethehelpful_scalesta_net`.`cscart_categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`wearethehelpful_scalesta_net`.`cscart_categories`.`usergroup_ids`))) and (`wearethehelpful_scalesta_net`.`cscart_categories`.`status` in ('A','H')))"
          }
        }
      ]
    }
  }
}

Result

product_id company_id category_ids product_code weight tracking product short_description is_edp edp_shipping shipping_freight free_shipping zero_price_action tax_ids qty_step list_qty_count max_qty min_qty in_stock shipping_params company_status out_of_stock_actions updated_timestamp company_name
966 34 266,267,282,286,276,297,301M,303,326 0.000 'The Nest' Luxe - Home Organisation Package <p><span style="font-size:21px;font-weight:700;"></span></p> <h4>The Nest&nbsp;<em>Luxe</em></h4> <h5>An elevated, thoughtfully designed service to help a new mum and her family create a calm, organised, and functional space for their newest little arrival.</h5> <p><em>Perfect luxury for group gifting.</em></p> <p>Planning for and bringing a baby home is beautiful, but it can also be overwhelming. The Nest package by dot provides expert support in decluttering, organising and streamlining the nursery, ensuring everything has its place so you can focus on what truly matters</p> <p><b>The Nest – Luxe&nbsp;</b>includes:</p> <ul><li>Virtual consultation with a Professional Organiser</li><li>System implementation for baby’s clothes and nursery essentials</li><li>Creation of a&nbsp;<em>Nappy Caddy Organiser</em>&nbsp;for easy daily access</li><li>Access to our Private Clients Lounge for 3 months, with ongoing tips & support</li><li>Full nursery and baby clothing organisation</li><li>Mum’s wardrobe reset:&nbsp;creating a feel-good, functional capsule wardrobe for pre- and post-baby life</li><li>Nappy Caddy Organiser for effortless daily organisation</li><li>6 months of access to our Private Clients Lounge for maintenance tips & support</li></ul> <p>Because a well-prepared space means a more peaceful start to motherhood.</p> <p>Remember, dot has also created a lighter version of this package - 'The Nest Light'.</p> <p><span style="font-size:21px;font-weight:700;"></span></p> Y N 0.00 N 10 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;} A N 1766487928 dot. Professional Organisers (Decant.Organise.Time Limited)