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 (
    91061, 84716, 88063, 84738, 92171, 84726, 
    84742, 91063, 91062, 91057, 84935, 
    91060, 91055, 91058, 84858, 92175, 
    91056, 84740, 91059, 84942, 84934, 
    92167, 84737, 84739, 84725, 87980, 
    87983, 84741, 87984, 87970, 88023, 
    84947, 88032, 84848, 87985, 84912, 
    84736, 84688, 87979, 84960, 87976, 
    87978, 84850, 84743, 84849, 84951, 
    84747, 84761, 84911, 84717, 87969, 
    87967, 88038, 84846, 84910, 87981, 
    87982, 85274, 84687, 84709, 87977, 
    88027, 88089, 88024, 87968, 88022, 
    84708, 84749, 88042, 87974, 84271, 
    87991, 87966, 88017, 88039, 91064, 
    84270, 88033, 88007, 84269, 88016, 
    93150, 93151, 93152, 93153, 93154, 
    93155, 93156, 93157, 93158, 93159, 
    93789, 93795, 93796, 93797, 94448
  )

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 (91061,84716,88063,84738,92171,84726,84742,91063,91062,91057,84935,91060,91055,91058,84858,92175,91056,84740,91059,84942,84934,92167,84737,84739,84725,87980,87983,84741,87984,87970,88023,84947,88032,84848,87985,84912,84736,84688,87979,84960,87976,87978,84850,84743,84849,84951,84747,84761,84911,84717,87969,87967,88038,84846,84910,87981,87982,85274,84687,84709,87977,88027,88089,88024,87968,88022,84708,84749,88042,87974,84271,87991,87966,88017,88039,91064,84270,88033,88007,84269,88016,93150,93151,93152,93153,93154,93155,93156,93157,93158,93159,93789,93795,93796,93797,94448))",
          "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"
          ]
        }
      }
    ]
  }
}