MySQL Query Error: SELECT DISTINCT BE.ID as ID,BE.IBLOCK_ID as IBLOCK_ID,BE.IBLOCK_SECTION_ID as IBLOCK_SECTION_ID,BE.NAME as NAME,BE.DETAIL_PICTURE as DETAIL_PICTURE,BE.PREVIEW_PICTURE as PREVIEW_PICTURE, FPS0.PROPERTY_33 as PROPERTY_P_TN_VALUE, concat(BE.ID , ':' , 33) as PROPERTY_P_TN_VALUE_ID, BE0.NAME as PROPERTY_P_MANUFACTURER_ID_NAME, BE1.NAME as PROPERTY_P_MANUFCOUNTRY_ID_NAME, BE2.CODE as PROPERTY_P_TN_CODE, JFPV0.VALUE as PROPERTY_P_TN_PROPERTY_P_OSP_FLAG_VALUE, JFPV0.ID as PROPERTY_P_TN_PROPERTY_P_OSP_FLAG_VALUE_ID, BE2.NAME as PROPERTY_P_TN_NAME, BE2.DETAIL_PICTURE as PROPERTY_P_TN_DETAIL_PICTURE, BE2.PREVIEW_PICTURE as PROPERTY_P_TN_PREVIEW_PICTURE, FPS0.PROPERTY_17 as PROPERTY_P_ASNA_ID_VALUE, concat(BE.ID , ':' , 17) as PROPERTY_P_ASNA_ID_VALUE_ID, FPS0.PROPERTY_225 as PROPERTY_P_RECIPE_VALUE, concat(BE.ID , ':' , 225) as PROPERTY_P_RECIPE_VALUE_ID, BE3.NAME as PROPERTY_P_CONCERN_ID_NAME,B.DETAIL_PAGE_URL as DETAIL_PAGE_URL,B.LIST_PAGE_URL as LIST_PAGE_URL,L.DIR as LANG_DIR,BE.SHOW_COUNTER as SHOW_COUNTER,BE.SORT as SORT,BE.CODE as CODE,BE.XML_ID as EXTERNAL_ID,B.IBLOCK_TYPE_ID as IBLOCK_TYPE_ID,B.CODE as IBLOCK_CODE,B.XML_ID as IBLOCK_EXTERNAL_ID,B.LID as LID , CAT_PR.QUANTITY as CATALOG_QUANTITY, CAT_PR.QUANTITY_RESERVED as CATALOG_QUANTITY_RESERVED, IF (CAT_PR.QUANTITY_TRACE = 'D', 'Y', CAT_PR.QUANTITY_TRACE) as CATALOG_QUANTITY_TRACE, CAT_PR.QUANTITY_TRACE as CATALOG_QUANTITY_TRACE_ORIG, IF (CAT_PR.CAN_BUY_ZERO = 'D', 'N', CAT_PR.CAN_BUY_ZERO) as CATALOG_CAN_BUY_ZERO, CAT_PR.CAN_BUY_ZERO as CATALOG_CAN_BUY_ZERO_ORIG, IF (CAT_PR.NEGATIVE_AMOUNT_TRACE = 'D', 'N', CAT_PR.NEGATIVE_AMOUNT_TRACE) as CATALOG_NEGATIVE_AMOUNT_TRACE, CAT_PR.NEGATIVE_AMOUNT_TRACE as CATALOG_NEGATIVE_AMOUNT_ORIG, IF (CAT_PR.SUBSCRIBE = 'D', 'N', CAT_PR.SUBSCRIBE) as CATALOG_SUBSCRIBE, CAT_PR.SUBSCRIBE as CATALOG_SUBSCRIBE_ORIG, CAT_PR.AVAILABLE as CATALOG_AVAILABLE, CAT_PR.WEIGHT as CATALOG_WEIGHT, CAT_PR.WIDTH as CATALOG_WIDTH, CAT_PR.LENGTH as CATALOG_LENGTH, CAT_PR.HEIGHT as CATALOG_HEIGHT, CAT_PR.MEASURE as CATALOG_MEASURE, CAT_VAT.RATE as CATALOG_VAT, CAT_PR.VAT_ID as CATALOG_VAT_ID, CAT_PR.VAT_INCLUDED as CATALOG_VAT_INCLUDED, CAT_PR.PRICE_TYPE as CATALOG_PRICE_TYPE, CAT_PR.RECUR_SCHEME_TYPE as CATALOG_RECUR_SCHEME_TYPE, CAT_PR.RECUR_SCHEME_LENGTH as CATALOG_RECUR_SCHEME_LENGTH, CAT_PR.TRIAL_PRICE_ID as CATALOG_TRIAL_PRICE_ID, CAT_PR.WITHOUT_ORDER as CATALOG_WITHOUT_ORDER, CAT_PR.SELECT_BEST_PRICE as CATALOG_SELECT_BEST_PRICE, CAT_PR.PURCHASING_PRICE as CATALOG_PURCHASING_PRICE, CAT_PR.PURCHASING_CURRENCY as CATALOG_PURCHASING_CURRENCY, CAT_PR.TYPE as CATALOG_TYPE, CAT_PR.BUNDLE as CATALOG_BUNDLE FROM b_iblock B INNER JOIN b_lang L ON B.LID=L.LID INNER JOIN b_iblock_element BE ON BE.IBLOCK_ID = B.ID INNER JOIN b_iblock_element_prop_s7 FPS0 ON FPS0.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element BE0 ON BE0.ID = FPS0.PROPERTY_109 AND ((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL)) LEFT JOIN b_iblock_element BE1 ON BE1.ID = FPS0.PROPERTY_110 AND ((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL)) LEFT JOIN b_iblock_element BE2 ON BE2.ID = FPS0.PROPERTY_33 AND ((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL)) LEFT JOIN b_iblock_element BE3 ON BE3.ID = FPS0.PROPERTY_380 AND ((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL)) LEFT JOIN b_iblock_element BE4 ON BE4.ID = FPS0.PROPERTY_79 AND ((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL)) LEFT JOIN b_iblock_property JFP0 ON JFP0.IBLOCK_ID = BE2.IBLOCK_ID AND JFP0.CODE='P_OSP_FLAG' LEFT JOIN b_iblock_element_property JFPV0 ON JFPV0.IBLOCK_PROPERTY_ID = JFP0.ID AND JFPV0.IBLOCK_ELEMENT_ID = BE2.ID left join b_catalog_product CAT_PR on (CAT_PR.ID = BE.ID) left join b_catalog_iblock CAT_IB on ((CAT_PR.VAT_ID IS NULL OR CAT_PR.VAT_ID = 0) AND CAT_IB.IBLOCK_ID = BE.IBLOCK_ID) left join b_catalog_vat CAT_VAT on (CAT_VAT.ID = IF((CAT_PR.VAT_ID IS NULL OR CAT_PR.VAT_ID = 0), CAT_IB.VAT_ID, CAT_PR.VAT_ID)) WHERE 1=1 AND ( ((((BE.IBLOCK_ID = '7')))) AND ((((BE.ACTIVE='Y')))) AND ((((CAT_PR.AVAILABLE='Y')))) AND ((((B.IBLOCK_TYPE_ID = 'products')))) AND ((((BE4.CODE LIKE 'fenoterol')))) ) AND (((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL))) ORDER BY BE.SHOW_COUNTER desc ,BE.SORT asc LIMIT 0, 24[[2006] MySQL server has gone away]

DB query error.
Please try later.