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 (
    82836, 82907, 82909, 82980, 82982, 83394, 
    83396, 83404, 83406, 85053, 85127, 
    85139, 85185, 85231, 86149, 86172, 
    86186, 86209, 86510, 86665, 86734, 
    86786, 83056, 83605, 86514, 86515, 
    86790, 86791, 88581, 90892, 90971, 
    84327, 84328, 90002, 85106, 85107, 
    84628, 85059, 85145, 85191, 85237, 
    82801, 82831, 82874, 82904, 82947, 
    82977, 83391, 83401, 85051, 85137, 
    85183, 85229, 89802, 89854, 89926, 
    91078, 91079, 91492, 85016, 85022, 
    85028, 85034, 89808, 89810, 89860, 
    89862, 89932, 89934, 91498, 91500, 
    82584, 82585, 86129, 86130, 86152, 
    86153, 85099, 85296, 85298, 85393, 
    85395, 85444, 85446, 85495, 85497, 
    89805, 89857, 89929, 91495, 85047, 
    89824, 89876, 89948, 91514, 82832
  )

Query time 0.00074

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 (82836,82907,82909,82980,82982,83394,83396,83404,83406,85053,85127,85139,85185,85231,86149,86172,86186,86209,86510,86665,86734,86786,83056,83605,86514,86515,86790,86791,88581,90892,90971,84327,84328,90002,85106,85107,84628,85059,85145,85191,85237,82801,82831,82874,82904,82947,82977,83391,83401,85051,85137,85183,85229,89802,89854,89926,91078,91079,91492,85016,85022,85028,85034,89808,89810,89860,89862,89932,89934,91498,91500,82584,82585,86129,86130,86152,86153,85099,85296,85298,85393,85395,85444,85446,85495,85497,89805,89857,89929,91495,85047,89824,89876,89948,91514,82832))",
          "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"
          ]
        }
      }
    ]
  }
}