SELECT 
  product_id, 
  group_id 
FROM 
  cscart_product_variation_group_products 
WHERE 
  group_id IN (62, 61, 60, 59, 58, 56, 49, 19, 18)

Query time 0.00023

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "9.46"
    },
    "table": {
      "table_name": "cscart_product_variation_group_products",
      "access_type": "range",
      "possible_keys": [
        "idx_group_id"
      ],
      "key": "idx_group_id",
      "used_key_parts": [
        "group_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 16,
      "rows_produced_per_join": 16,
      "filtered": "100.00",
      "index_condition": "(`wearethehelpful_scalesta_net`.`cscart_product_variation_group_products`.`group_id` in (62,61,60,59,58,56,49,19,18))",
      "cost_info": {
        "read_cost": "7.86",
        "eval_cost": "1.60",
        "prefix_cost": "9.46",
        "data_read_per_join": "256"
      },
      "used_columns": [
        "product_id",
        "group_id"
      ]
    }
  }
}

Result

product_id group_id
460 18
461 18
462 18
463 18
464 19
467 19
466 19
465 19
1052 49
1053 49
1087 56
1088 56
1091 58
1092 58
1093 59
1094 59
1095 60
1096 60
1098 61
1099 61
1100 62
1101 62