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 (
    84022, 84023, 84024, 84025, 84037, 92043, 
    92044, 92045, 92046, 92047, 92048, 
    92049, 92059, 92060, 92061, 92062, 
    92063, 92064, 92065, 92075, 92076, 
    92077, 92078, 92079, 92080, 92081, 
    92131, 92132, 92133, 92134, 92135, 
    92136, 92137, 89014, 92019, 92020, 
    92021, 92022, 92023, 92024, 92025, 
    92107, 92108, 92109, 92110, 92111, 
    92112, 92113, 89651, 84014, 84015, 
    84016, 84017, 84036, 89011, 90109, 
    83978, 83979, 83980, 83981, 88936, 
    89648, 83970, 83971, 83972, 83973, 
    89650, 90083, 84030, 84031, 84032, 
    84033, 84038, 88935, 88934, 83131, 
    90084, 89647, 89642, 89644, 90110, 
    92042, 92058, 92074, 92130, 85534, 
    90090, 90100, 83105, 84111, 88930, 
    90107, 90080, 89526, 90064, 89641
  )

Query time 0.00059

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 (84022,84023,84024,84025,84037,92043,92044,92045,92046,92047,92048,92049,92059,92060,92061,92062,92063,92064,92065,92075,92076,92077,92078,92079,92080,92081,92131,92132,92133,92134,92135,92136,92137,89014,92019,92020,92021,92022,92023,92024,92025,92107,92108,92109,92110,92111,92112,92113,89651,84014,84015,84016,84017,84036,89011,90109,83978,83979,83980,83981,88936,89648,83970,83971,83972,83973,89650,90083,84030,84031,84032,84033,84038,88935,88934,83131,90084,89647,89642,89644,90110,92042,92058,92074,92130,85534,90090,90100,83105,84111,88930,90107,90080,89526,90064,89641))",
          "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"
          ]
        }
      }
    ]
  }
}