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 (
    67257, 67256, 66534, 67158, 67208, 67196, 
    67195, 66979, 66878, 66812, 66787, 
    66527, 65967, 66881, 67016, 67014, 
    66981, 66980, 66784, 66622, 66621, 
    66393, 61786, 66986, 66985, 66978, 
    66846, 66843, 66842, 66783, 66780, 
    66286, 66283, 66214, 66779, 65966, 
    66533, 66729, 66594, 66287
  )

Query time 0.00022

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