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 (10699)

Query time 0.00082

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "86.40"
    },
    "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": 36,
          "rows_produced_per_join": 36,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "36.00",
            "eval_cost": "7.20",
            "prefix_cost": "43.20",
            "data_read_per_join": "576"
          },
          "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": [
            "webmarco.gp.product_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 36,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "36.00",
            "eval_cost": "7.20",
            "prefix_cost": "86.40",
            "data_read_per_join": "281K"
          },
          "used_columns": [
            "product_id",
            "company_id"
          ]
        }
      }
    ]
  }
}

Result

product_id parent_product_id group_id company_id
431698 0 10699 676
431699 431698 10699 676
431700 431698 10699 676
431701 431698 10699 676
431702 431698 10699 676
431703 431698 10699 676
431704 431698 10699 676
431705 431698 10699 676
431706 431698 10699 676
431707 431698 10699 676
431708 431698 10699 676
431709 431698 10699 676
431710 431698 10699 676
431711 431698 10699 676
431712 431698 10699 676
431713 431698 10699 676
431714 431698 10699 676
431715 431698 10699 676
431716 431698 10699 676
431717 431698 10699 676
431718 431698 10699 676
431719 431698 10699 676
431720 431698 10699 676
431721 431698 10699 676
431722 431698 10699 676
431723 431698 10699 676
431724 431698 10699 676
431725 431698 10699 676
431726 431698 10699 676
431727 431698 10699 676
431728 431698 10699 676
431729 431698 10699 676
431730 431698 10699 676
431731 431698 10699 676
431732 431698 10699 676
431733 431698 10699 676