SELECT 
  gp.*, 
  p.company_id 
FROM 
  cscart_product_variation_group_products AS gp 
  LEFT JOIN cscart_products AS p ON gp.product_id = p.product_id 
WHERE 
  gp.group_id IN (802)

Query time 0.00044

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "16.10"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "gp",
          "access_type": "ref",
          "possible_keys": [
            "idx_group_id"
          ],
          "key": "idx_group_id",
          "used_key_parts": [
            "group_id"
          ],
          "key_length": "3",
          "ref": [
            "const"
          ],
          "rows_examined_per_scan": 23,
          "rows_produced_per_join": 23,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "5.75",
            "eval_cost": "2.30",
            "prefix_cost": "8.05",
            "data_read_per_join": "368"
          },
          "used_columns": [
            "product_id",
            "parent_product_id",
            "group_id"
          ]
        }
      },
      {
        "table": {
          "table_name": "p",
          "access_type": "eq_ref",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "product_id"
          ],
          "key_length": "3",
          "ref": [
            "gaseus.gp.product_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 23,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "5.75",
            "eval_cost": "2.30",
            "prefix_cost": "16.10",
            "data_read_per_join": "150K"
          },
          "used_columns": [
            "product_id",
            "company_id"
          ]
        }
      }
    ]
  }
}

Result

product_id parent_product_id group_id company_id
7272 3687 802 1
7273 3687 802 1
7274 3687 802 1
7275 3687 802 1
7276 3687 802 1
7277 3687 802 1
7347 3687 802 1
7348 3687 802 1
7349 3687 802 1
7350 3687 802 1
1329 3687 802 1
1325 3687 802 1
1327 3687 802 1
1328 3687 802 1
5075 3687 802 1
5071 3687 802 1
5073 3687 802 1
5074 3687 802 1
1333 3687 802 1
1331 3687 802 1
1332 3687 802 1
5077 3687 802 1
5078 3687 802 1
6714 3687 802 1
3687 0 802 1