SELECT 
  products.product_id, 
  products.list_price, 
  prices.price, 
  products.amount, 
  descr1.product as product, 
  companies.company as company_name, 
  products.product_type, 
  products.parent_product_id, 
  products.company_id, 
  prpd.average_rating, 
  prpd.reviews_count, 
  pvd.variant as brand_name, 
  ab.amount as co_purchase_count 
FROM 
  cscart_also_bought_products ab 
  INNER JOIN cscart_products as products ON products.product_id = ab.related_id 
  AND products.status = 'A' 
  LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id 
  AND descr1.lang_code = 'en' 
  LEFT JOIN cscart_product_prices as prices ON prices.product_id = products.product_id 
  AND prices.lower_limit = 1 
  LEFT JOIN cscart_companies AS companies ON companies.company_id = products.company_id 
  LEFT JOIN cscart_product_review_prepared_data AS prpd ON prpd.product_id = products.product_id 
  LEFT JOIN cscart_product_features_values AS pfv ON pfv.product_id = products.product_id 
  AND pfv.feature_id = 62 
  LEFT JOIN cscart_product_feature_variant_descriptions AS pvd ON pfv.variant_id = pvd.variant_id 
  AND pvd.lang_code = 'en' 
WHERE 
  ab.product_id = 13072 
  AND ab.amount >= 2 
  AND products.parent_product_id = 0 
  AND (
    products.amount > 0 
    OR products.tracking = 'D'
  ) 
GROUP BY 
  products.product_id 
ORDER BY 
  ab.amount DESC 
LIMIT 
  8

Query time 0.00145

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "16.28"
    },
    "ordering_operation": {
      "using_filesort": true,
      "grouping_operation": {
        "using_temporary_table": true,
        "using_filesort": false,
        "nested_loop": [
          {
            "table": {
              "table_name": "ab",
              "access_type": "ref",
              "possible_keys": [
                "PRIMARY"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "product_id"
              ],
              "key_length": "3",
              "ref": [
                "const"
              ],
              "rows_examined_per_scan": 46,
              "rows_produced_per_join": 15,
              "filtered": "33.33",
              "cost_info": {
                "read_cost": "1.03",
                "eval_cost": "1.53",
                "prefix_cost": "5.63",
                "data_read_per_join": "245"
              },
              "used_columns": [
                "product_id",
                "related_id",
                "amount"
              ],
              "attached_condition": "(`cscart_db`.`ab`.`amount` >= 2)"
            }
          },
          {
            "table": {
              "table_name": "products",
              "access_type": "eq_ref",
              "possible_keys": [
                "PRIMARY",
                "age_verification",
                "status",
                "idx_parent_product_id",
                "idx_master_product_id",
                "youtube_link",
                "idx_products_parent_lookup",
                "idx_products_status_company",
                "idx_products_master_status",
                "idx_products_inventory",
                "idx_products_status_company_master",
                "idx_products_main_query",
                "idx_products_query_opt",
                "idx_products_composite_query",
                "idx_kl_qc_enabled"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "product_id"
              ],
              "key_length": "3",
              "ref": [
                "cscart_db.ab.related_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 0,
              "filtered": "5.43",
              "cost_info": {
                "read_cost": "5.54",
                "eval_cost": "0.08",
                "prefix_cost": "12.71",
                "data_read_per_join": "4K"
              },
              "used_columns": [
                "product_id",
                "product_type",
                "status",
                "company_id",
                "list_price",
                "amount",
                "tracking",
                "parent_product_id"
              ],
              "attached_condition": "((`cscart_db`.`products`.`parent_product_id` = 0) and ((`cscart_db`.`products`.`amount` > 0) or (`cscart_db`.`products`.`tracking` = 'D')) and (`cscart_db`.`products`.`status` = 'A'))"
            }
          },
          {
            "table": {
              "table_name": "descr1",
              "access_type": "eq_ref",
              "possible_keys": [
                "PRIMARY",
                "product_id",
                "idx_product_desc_lang",
                "idx_product_name_search",
                "idx_product_desc_sort"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "product_id",
                "lang_code"
              ],
              "key_length": "9",
              "ref": [
                "cscart_db.ab.related_id",
                "const"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 0,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "0.57",
                "eval_cost": "0.08",
                "prefix_cost": "13.36",
                "data_read_per_join": "3K"
              },
              "used_columns": [
                "product_id",
                "lang_code",
                "product"
              ]
            }
          },
          {
            "table": {
              "table_name": "prices",
              "access_type": "ref",
              "possible_keys": [
                "usergroup",
                "product_id",
                "lower_limit",
                "idx_prices_discount_lookup",
                "idx_prices_min_calc",
                "idx_prices_usergroup_lookup"
              ],
              "key": "idx_prices_discount_lookup",
              "used_key_parts": [
                "product_id",
                "lower_limit"
              ],
              "key_length": "6",
              "ref": [
                "cscart_db.ab.related_id",
                "const"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 0,
              "filtered": "100.00",
              "using_index": true,
              "cost_info": {
                "read_cost": "0.21",
                "eval_cost": "0.08",
                "prefix_cost": "13.65",
                "data_read_per_join": "19"
              },
              "used_columns": [
                "product_id",
                "price",
                "lower_limit",
                "usergroup_id"
              ]
            }
          },
          {
            "table": {
              "table_name": "companies",
              "access_type": "eq_ref",
              "possible_keys": [
                "PRIMARY"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "company_id"
              ],
              "key_length": "4",
              "ref": [
                "cscart_db.products.company_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 0,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "0.21",
                "eval_cost": "0.08",
                "prefix_cost": "13.95",
                "data_read_per_join": "5K"
              },
              "used_columns": [
                "company_id",
                "company"
              ]
            }
          },
          {
            "table": {
              "table_name": "prpd",
              "access_type": "ref",
              "possible_keys": [
                "PRIMARY"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "product_id"
              ],
              "key_length": "3",
              "ref": [
                "cscart_db.ab.related_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 1,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "0.30",
                "eval_cost": "0.17",
                "prefix_cost": "14.41",
                "data_read_per_join": "26"
              },
              "used_columns": [
                "product_id",
                "storefront_id",
                "average_rating",
                "reviews_count"
              ]
            }
          },
          {
            "table": {
              "table_name": "pfv",
              "access_type": "ref",
              "possible_keys": [
                "PRIMARY",
                "product_id",
                "fpl",
                "idx_product_feature_variant_id",
                "fl"
              ],
              "key": "idx_product_feature_variant_id",
              "used_key_parts": [
                "product_id",
                "feature_id"
              ],
              "key_length": "6",
              "ref": [
                "cscart_db.ab.related_id",
                "const"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 2,
              "filtered": "100.00",
              "using_index": true,
              "cost_info": {
                "read_cost": "1.00",
                "eval_cost": "0.20",
                "prefix_cost": "15.61",
                "data_read_per_join": "80"
              },
              "used_columns": [
                "feature_id",
                "product_id",
                "variant_id",
                "lang_code"
              ]
            }
          },
          {
            "table": {
              "table_name": "pvd",
              "access_type": "eq_ref",
              "possible_keys": [
                "PRIMARY"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "variant_id",
                "lang_code"
              ],
              "key_length": "9",
              "ref": [
                "cscart_db.pfv.variant_id",
                "const"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 2,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "0.46",
                "eval_cost": "0.20",
                "prefix_cost": "16.28",
                "data_read_per_join": "14K"
              },
              "used_columns": [
                "variant_id",
                "variant",
                "lang_code"
              ]
            }
          }
        ]
      }
    }
  }
}

Result

product_id list_price price amount product company_name product_type parent_product_id company_id average_rating reviews_count brand_name co_purchase_count
37518 2050.00 1333.00 3426 The 6 Peptide Skin Booster Face Serum | 150ml Roadskye Tradecom Pvt. Ltd. P 0 13 4.77 152 COSRX 4
28537 1250.00 813.00 5454 Refresh Aha Bha Vitamin C Daily Toner Roadskye Tradecom Pvt. Ltd. P 0 13 4.92 13 COSRX 3
4896 160.00 152.00 985 Roasted Super Seeds Mix - 100g Roadskye Tradecom Pvt. Ltd. P 0 13 5.00 2 MOS Bakery 2
13071 199.00 179.10 169 Toilet Seat Sanitizer - 100ml Roadskye Tradecom Pvt. Ltd. P 0 13 5.00 1 Love Earth 2
13091 399.00 359.10 1000 Haldi Chandan Rose Face Pack - 50g Roadskye Tradecom Pvt. Ltd. P 0 13 5.00 1 Love Earth 2
23488 550.00 467.50 194 Cold-Pressed Virgin Coconut Oil | Kachi Ghani | Suitable for Cooking | 500ml Roadskye Tradecom Pvt. Ltd. P 0 13 5.00 1 Ecotyl 2
35644 370.00 314.50 72 Ambrosia Kashmiri Walnut Kernels | Brown Halves | 250g Roadskye Tradecom Pvt. Ltd. P 0 13 4.47 19 Ambrosia 2
38961 499.00 449.10 77 De-Stress Plant Therapy Roll On | Anxiety Relief Roll on | 100% Pure Therapeutic Essential Oil Roll On Roadskye Tradecom Pvt. Ltd. P 0 13 Puretive 2