SELECT 
  f.feature_id, 
  f.purpose, 
  p.product_id, 
  p.parent_product_id, 
  g.id, 
  g.code 
FROM 
  cscart_product_variation_group_features AS f 
  INNER JOIN cscart_product_variation_groups AS g ON f.group_id = g.id 
  INNER JOIN cscart_product_variation_group_products AS p ON f.group_id = p.group_id 
WHERE 
  p.product_id IN (
    94652, 94653, 94659, 94660, 94661, 94663, 
    94664, 94665, 94675, 94676, 94677, 
    94813, 94817, 94818, 94819, 95449, 
    95803, 95805, 95807, 95809, 95811, 
    97719, 97720, 97721, 97722, 97723, 
    97724, 97725, 97726, 97727, 97765, 
    97766, 97767, 97768, 97769, 97770, 
    97771, 97772, 97773, 97775, 97776, 
    97777, 97783, 97784, 97785, 97787, 
    97788, 97789, 97799, 97800, 97801, 
    98145, 98147, 98151, 98154, 98815, 
    98816, 98817, 98819, 98820, 98821, 
    98823, 98824, 98825, 98827, 98828, 
    98829, 98864, 98866, 98868, 98870, 
    98872, 99346, 99348, 99350, 99352, 
    99354, 99412, 99438, 99439, 99440, 
    99443, 99444, 99445, 99446, 99447, 
    99452, 99453, 99454, 99455, 99456, 
    99457, 99458, 99463, 99466, 99467
  )

Query time 0.00105

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "1.05"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "f",
          "access_type": "ALL",
          "possible_keys": [
            "idx_group_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 1,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "0.25",
            "eval_cost": "0.10",
            "prefix_cost": "0.35",
            "data_read_per_join": "104"
          },
          "used_columns": [
            "feature_id",
            "purpose",
            "group_id"
          ]
        }
      },
      {
        "table": {
          "table_name": "g",
          "access_type": "eq_ref",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "id"
          ],
          "key_length": "3",
          "ref": [
            "nuie_scalesta_net.f.group_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 1,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "0.25",
            "eval_cost": "0.10",
            "prefix_cost": "0.70",
            "data_read_per_join": "400"
          },
          "used_columns": [
            "id",
            "code"
          ]
        }
      },
      {
        "table": {
          "table_name": "p",
          "access_type": "ref",
          "possible_keys": [
            "PRIMARY",
            "idx_group_id"
          ],
          "key": "idx_group_id",
          "used_key_parts": [
            "group_id"
          ],
          "key_length": "3",
          "ref": [
            "nuie_scalesta_net.f.group_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 1,
          "filtered": "100.00",
          "index_condition": "(`nuie_scalesta_net`.`p`.`product_id` in (94652,94653,94659,94660,94661,94663,94664,94665,94675,94676,94677,94813,94817,94818,94819,95449,95803,95805,95807,95809,95811,97719,97720,97721,97722,97723,97724,97725,97726,97727,97765,97766,97767,97768,97769,97770,97771,97772,97773,97775,97776,97777,97783,97784,97785,97787,97788,97789,97799,97800,97801,98145,98147,98151,98154,98815,98816,98817,98819,98820,98821,98823,98824,98825,98827,98828,98829,98864,98866,98868,98870,98872,99346,99348,99350,99352,99354,99412,99438,99439,99440,99443,99444,99445,99446,99447,99452,99453,99454,99455,99456,99457,99458,99463,99466,99467))",
          "cost_info": {
            "read_cost": "0.25",
            "eval_cost": "0.10",
            "prefix_cost": "1.05",
            "data_read_per_join": "16"
          },
          "used_columns": [
            "product_id",
            "parent_product_id",
            "group_id"
          ]
        }
      }
    ]
  }
}