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 (
    88127, 88126, 88125, 88124, 87662, 87418, 
    87417, 87416, 87415, 87414, 87413, 
    87412, 87411, 87410, 87409, 87363, 
    87362, 87158, 87157, 87659, 88123, 
    88122, 87708, 87707, 87676, 87675, 
    87475, 87169, 87083, 87082, 87081, 
    87067, 87024, 87854, 87853, 87852, 
    87713, 87712, 87711, 87710
  )

Query time 0.00027

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE p ALL PRIMARY,idx_group_id 376 Using where
1 SIMPLE g eq_ref PRIMARY PRIMARY 3 toolboxdigitalshop_dev.p.group_id 1
1 SIMPLE f ref idx_group_id idx_group_id 3 toolboxdigitalshop_dev.p.group_id 7