SELECT
n.sf_id,
n.features_hash,
n.show_in_breadcrumbs,
nd.product_breadcrumb
FROM
cscart_ab__sf_names as n
INNER JOIN cscart_ab__sf_name_descriptions as nd ON (
nd.sf_id = n.sf_id
AND nd.lang_code = 'en'
)
WHERE
(
(
LENGTH(n.features_hash)= 6
AND LOCATE('1-4755', n.features_hash) > 0
)
OR (
LENGTH(n.features_hash)= 7
AND LOCATE('47-3089', n.features_hash) > 0
)
OR (
LENGTH(n.features_hash)= 7
AND LOCATE('29-2227', n.features_hash) > 0
)
OR (
LENGTH(n.features_hash)= 8
AND LOCATE('112-5165', n.features_hash) > 0
)
OR (
LENGTH(n.features_hash)= 8
AND LOCATE('111-4763', n.features_hash) > 0
)
OR (
LENGTH(n.features_hash)= 8
AND LOCATE('113-5180', n.features_hash) > 0
)
)
AND n.category_id = 955
AND n.fixed in ('F', 'U')
AND n.company_id = 1