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 (
    96860, 96859, 96858, 96857, 96856, 96855, 
    96854, 96853, 96852, 96851, 96850, 
    96849, 96848, 96058, 96888, 96045, 
    96044, 96042, 96041, 96000, 96690, 
    96689, 96688, 96687, 96686, 96685, 
    96684, 96683, 96682, 96681, 96680, 
    96679, 96678, 96677, 96676, 96643, 
    96640, 96639, 96638, 96637
  )

Query time 0.00025

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