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 (
    93363, 93364, 93365, 93366, 93367, 93368, 
    93369, 93370, 93371, 93372, 93373, 
    93374, 93375, 93376, 93377, 93378, 
    93379, 93380, 93381, 93382, 93383, 
    93384, 93385, 93386, 93387, 93388, 
    93389, 93390, 93391, 93392, 93393, 
    93394, 93395, 93396, 93397, 93398, 
    93399, 93400, 93407, 93408, 93409, 
    93410, 93411, 93412, 93413, 93414, 
    93415, 93416, 93417, 93418, 93419, 
    93420, 93421, 93422, 93423, 93424, 
    93425, 93426, 93427, 93428, 93429, 
    93430, 93431, 93432, 93433, 93434, 
    93435, 93436, 93437, 93438, 93439, 
    93440, 93441, 93442, 93443, 93444, 
    93445, 93446, 93447, 93448, 93449, 
    93450, 93451, 93452, 93453, 93454, 
    93455, 93456, 93457, 93458, 93459, 
    93460, 93461, 93462, 93463, 93464
  )

Query time 0.00068

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 (93363,93364,93365,93366,93367,93368,93369,93370,93371,93372,93373,93374,93375,93376,93377,93378,93379,93380,93381,93382,93383,93384,93385,93386,93387,93388,93389,93390,93391,93392,93393,93394,93395,93396,93397,93398,93399,93400,93407,93408,93409,93410,93411,93412,93413,93414,93415,93416,93417,93418,93419,93420,93421,93422,93423,93424,93425,93426,93427,93428,93429,93430,93431,93432,93433,93434,93435,93436,93437,93438,93439,93440,93441,93442,93443,93444,93445,93446,93447,93448,93449,93450,93451,93452,93453,93454,93455,93456,93457,93458,93459,93460,93461,93462,93463,93464))",
          "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"
          ]
        }
      }
    ]
  }
}