SELECT 
  product_id, 
  parent_product_id 
FROM 
  cscart_product_variation_group_products 
WHERE 
  parent_product_id = 5807

Query time 0.00057

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "40.08"
    },
    "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": 246,
      "rows_produced_per_join": 246,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "15.49",
        "eval_cost": "24.60",
        "prefix_cost": "40.09",
        "data_read_per_join": "3K"
      },
      "used_columns": [
        "product_id",
        "parent_product_id"
      ]
    }
  }
}

Result

product_id parent_product_id
2534 5807
6126 5807
2533 5807
7508 5807
7509 5807
7510 5807
7511 5807
7525 5807
7524 5807
7523 5807
7522 5807
7521 5807
7520 5807
7519 5807
7518 5807
7517 5807
7516 5807
7515 5807
7514 5807
7513 5807
7512 5807
2882 5807
2881 5807
6467 5807
6373 5807
2204 5807
5804 5807
2206 5807
2205 5807
6329 5807
2741 5807
6331 5807
6330 5807
6128 5807
6127 5807
2536 5807
5956 5807
6216 5807
2623 5807
6215 5807
2625 5807
2624 5807
6218 5807
6046 5807
2444 5807
2446 5807
6055 5807
2447 5807
2783 5807
6370 5807
6372 5807
2784 5807
6371 5807
2786 5807
2785 5807
2354 5807
6374 5807
6631 5807
3051 5807
6628 5807
6630 5807
3052 5807
6629 5807
2744 5807
6457 5807
2870 5807
6454 5807
6456 5807
2871 5807
6455 5807
2873 5807
2872 5807
6458 5807
6466 5807
5953 5807
5955 5807
2355 5807
5954 5807
2357 5807
2356 5807
5957 5807
6217 5807
3054 5807
3053 5807
6632 5807
2958 5807
6540 5807
2955 5807
2957 5807
6541 5807
2956 5807
6543 5807
6542 5807
2959 5807
2201 5807
5799 5807
2198 5807
2200 5807
5800 5807
2199 5807
5801 5807
2202 5807
5806 5807
2203 5807
5803 5807
2879 5807
6463 5807
2453 5807
6054 5807
6047 5807
2868 5807
6627 5807
6450 5807
6626 5807
2865 5807
6368 5807
6323 5807
2782 5807
6325 5807
2877 5807
2954 5807
6459 5807
2953 5807
2874 5807
6539 5807
2876 5807
3050 5807
2867 5807
6465 5807
2880 5807
6464 5807
2742 5807
3048 5807
2738 5807
6625 5807
6327 5807
3047 5807
3049 5807
2737 5807
6624 5807
6324 5807
3046 5807
2739 5807
2952 5807
2869 5807
6536 5807
6043 5807
6045 5807
2445 5807
6044 5807
2622 5807
6214 5807
6538 5807
6451 5807
2951 5807
2866 5807
6535 5807
6453 5807
6537 5807
6452 5807
2778 5807
6056 5807
2780 5807
6848 5807
6367 5807
2779 5807
6326 5807
6369 5807
2736 5807
6462 5807
2454 5807
6461 5807
6053 5807
2878 5807
2781 5807
2456 5807
6366 5807
2455 5807
2743 5807
6460 5807
6328 5807
2875 5807
2740 5807
6052 5807
2288 5807
6048 5807
2289 5807
2451 5807
5886 5807
2443 5807
2287 5807
5888 5807
2441 5807
2439 5807
6039 5807
2618 5807
6211 5807
2619 5807
5951 5807
5952 5807
2350 5807
2352 5807
6124 5807
2530 5807
6041 5807
5887 5807
6042 5807
5885 5807
2440 5807
2286 5807
6040 5807
2442 5807
2621 5807
6212 5807
6213 5807
2617 5807
6210 5807
2620 5807
2353 5807
5950 5807
2351 5807
2349 5807
5949 5807
6120 5807
2528 5807
6123 5807
5889 5807
2531 5807
6121 5807
2529 5807
6122 5807
2449 5807
6050 5807
6051 5807
6049 5807
2450 5807
2448 5807
5891 5807
2532 5807
2292 5807
6125 5807
2535 5807
2290 5807
2294 5807
5890 5807
5892 5807
2293 5807
5893 5807
2452 5807
2291 5807
5805 5807