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 (
65260, 65340, 65210, 64553, 65258, 65257,
65256, 65255, 65254, 65253, 65252,
65251, 65250, 65249, 65248, 65247,
65246, 65245, 65244, 65243, 65242,
65241, 65240, 65239, 65238, 65237,
65236, 65235, 65234, 65233, 65232,
65231, 65230, 65229, 65163, 65162,
65161, 65160, 65159, 65114
)