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 (
    85601, 85602, 86335, 86339, 90272, 92172, 
    82395, 86076, 86079, 86080, 87382, 
    89611, 90794, 92358, 92359, 92360, 
    92361, 92362, 92363, 92364, 86370, 
    82366, 85560, 85566, 85587, 85588, 
    85604, 85641, 86331, 89988, 90271, 
    90795, 91848, 91888, 82328, 82393, 
    85562, 86330, 86333, 86334, 86338, 
    85974, 85975, 85977, 85978, 85979, 
    85980, 85981, 85982, 85983, 85984, 
    85985, 85986, 85987, 85988, 85989, 
    85990, 85991, 85992, 85993, 85994, 
    85995, 85996, 85997, 85998, 85999, 
    86003, 86004, 86005, 86006, 86007, 
    86008, 86009, 86010, 86011, 86012, 
    86014, 86015, 86017, 86018, 86019, 
    86020, 86021, 86022, 86023, 86024, 
    86025, 86026, 86027, 86028, 86029, 
    86030, 86031, 86032, 86033, 86034
  )

Query time 0.00028

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 (85601,85602,86335,86339,90272,92172,82395,86076,86079,86080,87382,89611,90794,92358,92359,92360,92361,92362,92363,92364,86370,82366,85560,85566,85587,85588,85604,85641,86331,89988,90271,90795,91848,91888,82328,82393,85562,86330,86333,86334,86338,85974,85975,85977,85978,85979,85980,85981,85982,85983,85984,85985,85986,85987,85988,85989,85990,85991,85992,85993,85994,85995,85996,85997,85998,85999,86003,86004,86005,86006,86007,86008,86009,86010,86011,86012,86014,86015,86017,86018,86019,86020,86021,86022,86023,86024,86025,86026,86027,86028,86029,86030,86031,86032,86033,86034))",
          "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"
          ]
        }
      }
    ]
  }
}