SELECT
  products.product_id AS product_id,
  products.image AS image,
  product_description.name AS name,
  products.model AS model,
  products.price AS price,
  products.quantity AS quantity,
  products.status AS STATUS,
  products.noindex AS noindex
FROM
  oc_product AS products
  INNER JOIN oc_product_description AS product_description ON products.product_id = product_description.product_id
  AND product_description.language_id = 1
  LEFT JOIN oc_product_attribute AS product_attributes_facet_69f524aec48a647c231b774b5b3684f5 ON products.product_id = product_attributes_facet_69f524aec48a647c231b774b5b3684f5.product_id
  AND product_attributes_facet_69f524aec48a647c231b774b5b3684f5.attribute_id = 3
  AND product_attributes_facet_69f524aec48a647c231b774b5b3684f5.language_id = 1
  AND product_attributes_facet_69f524aec48a647c231b774b5b3684f5.text LIKE '%test%'
WHERE
  product_attributes_facet_69f524aec48a647c231b774b5b3684f5.product_id IS NOT NULL