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 (
    88740, 91897, 91898, 91899, 92341, 92343, 
    92344, 85643, 88925, 88926, 88927, 
    91470, 92186, 92187, 92188, 92189, 
    92190, 92441, 82561, 85642, 86249, 
    88070, 88394, 82369, 85582, 86901, 
    90023, 90039, 90055, 90328, 90332, 
    90335, 90336, 90343, 90344, 92488, 
    91840, 91841, 91842, 91843, 91845, 
    91846, 91847, 82375, 87581, 87596, 
    87611, 88150, 88152, 88792, 90268, 
    91884, 92476, 92477, 92478, 92479, 
    92480, 92481, 92482, 85586, 82357, 
    86356, 86357, 87962, 88079, 88084, 
    86253, 89590, 86891, 87657, 87671, 
    87678, 87685, 87706, 87719, 87733, 
    88696, 88743, 87787, 90327, 87994, 
    91868, 90264, 91849, 91850, 91851, 
    91852, 91853, 91854, 91855, 91857, 
    91858, 91859, 91860, 91861, 91862
  )

Query time 0.00077

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 (88740,91897,91898,91899,92341,92343,92344,85643,88925,88926,88927,91470,92186,92187,92188,92189,92190,92441,82561,85642,86249,88070,88394,82369,85582,86901,90023,90039,90055,90328,90332,90335,90336,90343,90344,92488,91840,91841,91842,91843,91845,91846,91847,82375,87581,87596,87611,88150,88152,88792,90268,91884,92476,92477,92478,92479,92480,92481,92482,85586,82357,86356,86357,87962,88079,88084,86253,89590,86891,87657,87671,87678,87685,87706,87719,87733,88696,88743,87787,90327,87994,91868,90264,91849,91850,91851,91852,91853,91854,91855,91857,91858,91859,91860,91861,91862))",
          "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"
          ]
        }
      }
    ]
  }
}