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 (
    7690, 11058, 7691, 11003, 11098, 11052, 
    7698, 11015, 7692, 11060, 8470, 11094, 
    8469, 8462, 8465, 8065, 8056, 8709, 
    8554, 8537, 8538, 8532, 8533, 8539, 
    36411, 36607, 36590, 36598, 36617, 
    36588, 36597, 36594, 36609, 36618, 
    36616, 36610, 54994, 36592, 36587, 
    54995, 36586, 36593, 55577, 36591, 
    55008, 55047, 55576, 20483, 30710
  )

Query time 0.00101

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "68.61"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "p",
          "access_type": "range",
          "possible_keys": [
            "PRIMARY",
            "idx_group_id"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "product_id"
          ],
          "key_length": "3",
          "rows_examined_per_scan": 49,
          "rows_produced_per_join": 49,
          "filtered": "100.00",
          "index_condition": "(`cscartdb`.`p`.`product_id` in (7690,11058,7691,11003,11098,11052,7698,11015,7692,11060,8470,11094,8469,8462,8465,8065,8056,8709,8554,8537,8538,8532,8533,8539,36411,36607,36590,36598,36617,36588,36597,36594,36609,36618,36616,36610,54994,36592,36587,54995,36586,36593,55577,36591,55008,55047,55576,20483,30710))",
          "cost_info": {
            "read_cost": "29.41",
            "eval_cost": "4.90",
            "prefix_cost": "34.31",
            "data_read_per_join": "784"
          },
          "used_columns": [
            "product_id",
            "parent_product_id",
            "group_id"
          ]
        }
      },
      {
        "table": {
          "table_name": "g",
          "access_type": "eq_ref",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "id"
          ],
          "key_length": "3",
          "ref": [
            "cscartdb.p.group_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 49,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "12.25",
            "eval_cost": "4.90",
            "prefix_cost": "51.46",
            "data_read_per_join": "19K"
          },
          "used_columns": [
            "id",
            "code"
          ]
        }
      },
      {
        "table": {
          "table_name": "f",
          "access_type": "ref",
          "possible_keys": [
            "idx_group_id"
          ],
          "key": "idx_group_id",
          "used_key_parts": [
            "group_id"
          ],
          "key_length": "3",
          "ref": [
            "cscartdb.p.group_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 49,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "12.25",
            "eval_cost": "4.90",
            "prefix_cost": "68.61",
            "data_read_per_join": "4K"
          },
          "used_columns": [
            "feature_id",
            "purpose",
            "group_id"
          ]
        }
      }
    ]
  }
}

Result

feature_id purpose product_id parent_product_id id code
169 group_variation_catalog_item 8462 0 135 PV-CAC0DD87B
169 group_variation_catalog_item 8465 0 136 PV-0E1630E77
168 group_variation_catalog_item 8532 0 133 PV-365F2941B
168 group_variation_catalog_item 8538 0 134 PV-64E012434
168 group_variation_catalog_item 8554 0 132 PV-6E63EC46B
1182 group_variation_catalog_item 30710 0 1386 PV-3ADC258E3
1230 group_variation_catalog_item 36411 0 1512 PV-E3B676024