SELECT 
  product_id 
FROM 
  cscart_product_variation_group_products 
WHERE 
  group_id = 2577

Query time 0.00055

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "2.45"
    },
    "table": {
      "table_name": "cscart_product_variation_group_products",
      "access_type": "ref",
      "possible_keys": [
        "PRIMARY",
        "idx_group_id"
      ],
      "key": "idx_group_id",
      "used_key_parts": [
        "group_id"
      ],
      "key_length": "3",
      "ref": [
        "const"
      ],
      "rows_examined_per_scan": 7,
      "rows_produced_per_join": 7,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "1.75",
        "eval_cost": "0.70",
        "prefix_cost": "2.45",
        "data_read_per_join": "112"
      },
      "used_columns": [
        "product_id",
        "group_id"
      ]
    }
  }
}

Result

product_id
64871
64873
64874
64875
64876
64877
64878
64879