SELECT 
  f.feature_id, 
  f.purpose, 
  p.product_id, 
  p.parent_product_id, 
  g.id, 
  g.code 
FROM 
  jmj_product_variation_group_features AS f 
  INNER JOIN jmj_product_variation_groups AS g ON f.group_id = g.id 
  INNER JOIN jmj_product_variation_group_products AS p ON f.group_id = p.group_id 
WHERE 
  p.product_id IN (
    1658, 1064, 1065, 1066, 1067, 1068, 1076, 
    1078, 1079, 1085, 1086, 1087
  )

Query time 0.01083

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "Impossible WHERE noticed after reading const tables"
  }
}