SELECT *
FROM eshop_products
LEFT JOIN eshop_products_features FPV0 ON FPV0.product_id = eshop_products.id
LEFT JOIN eshop_products_features FPV1 ON FPV1.product_id = eshop_products.id
WHERE (
FPV0.feature_id = '2'
AND FPV0.value = 'MacOS X'
)
AND (
FPV1.feature_id = '1'
AND FPV1.value = 'Ноутбук'
)
SELECT *
FROM eshop_products
LEFT JOIN eshop_products_features ON eshop_products.id = eshop_products_features.product_id
WHERE eshop_products_features.feature_id = '2' and eshop_products_features.value = 'MacOS X'
and eshop_products_features.feature_id = '1' and eshop_products_features.value = 'Ноутбук'