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 (
    89853, 89925, 91491, 85856, 85857, 85866, 
    85867, 85053, 85139, 85185, 85231, 
    90002, 84628, 82801, 82874, 82947, 
    85051, 85137, 85183, 85229, 89802, 
    89854, 89926, 91078, 91079, 91492, 
    82584, 82585, 85047, 85052, 85138, 
    85184, 85230, 85045, 85846, 85847, 
    82860, 82861, 82933, 82934, 83006, 
    83007, 83290, 83292, 83297, 83299, 
    84806, 84807, 84824, 84825, 84836, 
    84837, 91096, 91182, 91237, 84647, 
    89794, 89795, 89846, 89847, 89918, 
    89919, 91485, 91486, 82582, 82858, 
    82931, 83004, 83287, 83294, 85046, 
    86467, 86468, 86743, 86744, 82802, 
    82875, 82948, 82714, 82715, 83304, 
    83306, 84800, 84801, 86465, 86741, 
    89751, 89752, 91072, 82859, 82932, 
    83005, 83288, 83295, 89792, 89793
  )

Query time 0.00109

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 (89853,89925,91491,85856,85857,85866,85867,85053,85139,85185,85231,90002,84628,82801,82874,82947,85051,85137,85183,85229,89802,89854,89926,91078,91079,91492,82584,82585,85047,85052,85138,85184,85230,85045,85846,85847,82860,82861,82933,82934,83006,83007,83290,83292,83297,83299,84806,84807,84824,84825,84836,84837,91096,91182,91237,84647,89794,89795,89846,89847,89918,89919,91485,91486,82582,82858,82931,83004,83287,83294,85046,86467,86468,86743,86744,82802,82875,82948,82714,82715,83304,83306,84800,84801,86465,86741,89751,89752,91072,82859,82932,83005,83288,83295,89792,89793))",
          "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"
          ]
        }
      }
    ]
  }
}