SELECT 
  product_id, 
  parent_product_id 
FROM 
  cscart_product_variation_group_products 
WHERE 
  parent_product_id = 12037

Query time 0.00034

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "21.68"
    },
    "table": {
      "table_name": "cscart_product_variation_group_products",
      "access_type": "ref",
      "possible_keys": [
        "idx_parent_product_id"
      ],
      "key": "idx_parent_product_id",
      "used_key_parts": [
        "parent_product_id"
      ],
      "key_length": "3",
      "ref": [
        "const"
      ],
      "rows_examined_per_scan": 62,
      "rows_produced_per_join": 62,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "15.49",
        "eval_cost": "6.20",
        "prefix_cost": "21.69",
        "data_read_per_join": "992"
      },
      "used_columns": [
        "product_id",
        "parent_product_id"
      ]
    }
  }
}

Result

product_id parent_product_id
12038 12037
12039 12037
12040 12037
12041 12037
12042 12037
12043 12037
12044 12037
12045 12037
12046 12037
12047 12037
12048 12037
12049 12037
12050 12037
12051 12037
12052 12037
12053 12037
12054 12037
12055 12037
12056 12037
12057 12037
12058 12037
12059 12037
12060 12037
12061 12037
12062 12037
12063 12037
12064 12037
12065 12037
12066 12037
12067 12037
12068 12037
12069 12037
12070 12037
12071 12037
12072 12037
12073 12037
12074 12037
12075 12037
12076 12037
12077 12037
12078 12037
12079 12037
12080 12037
12081 12037
12082 12037
12083 12037
12084 12037
12085 12037
12086 12037
12087 12037
12088 12037
12089 12037
12090 12037
12091 12037
12092 12037
12093 12037
12094 12037
12095 12037
12096 12037
12097 12037
12098 12037
12099 12037
12100 12037
12101 12037