SELECT 
  cscart_products.*, 
  cscart_product_descriptions.*, 
  MIN(
    IF(
      cscart_product_prices.percentage_discount = 0, 
      cscart_product_prices.price, 
      cscart_product_prices.price - (
        cscart_product_prices.price * cscart_product_prices.percentage_discount
      )/ 100
    )
  ) as price, 
  GROUP_CONCAT(
    IF(
      cscart_products_categories.link_type = 'M', 
      CONCAT(
        cscart_products_categories.category_id, 
        'M'
      ), 
      cscart_products_categories.category_id
    )
  ) as category_ids, 
  popularity.total as popularity, 
  IF(
    shared_prices.product_id IS NOT NULL, 
    MIN(
      IF(
        shared_prices.percentage_discount = 0, 
        shared_prices.price, 
        shared_prices.price - (
          shared_prices.price * shared_prices.percentage_discount
        )/ 100
      )
    ), 
    MIN(
      IF(
        cscart_product_prices.percentage_discount = 0, 
        cscart_product_prices.price, 
        cscart_product_prices.price - (
          cscart_product_prices.price * cscart_product_prices.percentage_discount
        )/ 100
      )
    )
  ) as price, 
  companies.company as company_name, 
  cscart_product_sales.amount as sales_amount, 
  cscart_seo_names.name as seo_name, 
  cscart_seo_names.path as seo_path, 
  cscart_discussion.type as discussion_type 
FROM 
  cscart_products 
  LEFT JOIN cscart_product_prices ON cscart_product_prices.product_id = cscart_products.product_id 
  AND cscart_product_prices.lower_limit = 1 
  AND cscart_product_prices.usergroup_id IN (0, 0, 1) 
  LEFT JOIN cscart_product_descriptions ON cscart_product_descriptions.product_id = cscart_products.product_id 
  AND cscart_product_descriptions.lang_code = 'en' 
  LEFT JOIN cscart_ult_product_prices shared_prices ON shared_prices.product_id = cscart_products.product_id 
  AND shared_prices.company_id = 2 
  AND shared_prices.lower_limit = 1 
  AND shared_prices.usergroup_id IN (0, 0, 1) 
  LEFT JOIN cscart_companies as companies ON companies.company_id = cscart_products.company_id 
  INNER JOIN cscart_products_categories ON cscart_products_categories.product_id = cscart_products.product_id 
  INNER JOIN cscart_categories ON cscart_categories.category_id = cscart_products_categories.category_id 
  AND cscart_categories.company_id = 2 
  AND (
    cscart_categories.usergroup_ids = '' 
    OR FIND_IN_SET(
      0, cscart_categories.usergroup_ids
    ) 
    OR FIND_IN_SET(
      1, cscart_categories.usergroup_ids
    )
  ) 
  AND (
    cscart_products.usergroup_ids = '' 
    OR FIND_IN_SET(
      0, cscart_products.usergroup_ids
    ) 
    OR FIND_IN_SET(
      1, cscart_products.usergroup_ids
    )
  ) 
  AND cscart_categories.status IN ('A', 'H') 
  AND cscart_products.status IN ('A', 'H') 
  LEFT JOIN cscart_product_popularity as popularity ON popularity.product_id = cscart_products.product_id 
  LEFT JOIN cscart_product_sales ON cscart_product_sales.product_id = cscart_products.product_id 
  AND cscart_product_sales.category_id = 441 
  LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = 3245 
  AND cscart_seo_names.type = 'p' 
  AND cscart_seo_names.dispatch = '' 
  AND cscart_seo_names.lang_code = 'en' 
  AND cscart_seo_names.company_id = 2 
  LEFT JOIN cscart_discussion ON cscart_discussion.object_id = cscart_products.product_id 
  AND cscart_discussion.object_type = 'P' 
  AND cscart_discussion.company_id = 2 
WHERE 
  cscart_products.product_id = 3245 
  AND (
    companies.status = 'A' 
    OR cscart_products.company_id = 0
  ) 
GROUP BY 
  cscart_products.product_id

Query time 0.00149

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE cscart_products const PRIMARY,status,product_id_idx,status_idx PRIMARY 3 const 1
1 SIMPLE popularity const PRIMARY,total PRIMARY 3 const 1
1 SIMPLE cscart_product_sales const PRIMARY,pa PRIMARY 6 const,const 1
1 SIMPLE cscart_product_prices ref usergroup,product_id,lower_limit,usergroup_id product_id 3 const 1 Using where
1 SIMPLE cscart_product_descriptions const PRIMARY,product_id PRIMARY 9 const,const 1 Using where
1 SIMPLE shared_prices ref usergroup,product_id,company_id,lower_limit,usergroup_id product_id 3 const 2 Using where
1 SIMPLE companies eq_ref PRIMARY PRIMARY 4 const 1 Using where
1 SIMPLE cscart_products_categories ref PRIMARY,pt,product_id_idx,category_id_idx,product_category_idx,category_product_idx product_id_idx 3 const 2
1 SIMPLE cscart_categories eq_ref PRIMARY,c_status,p_category_id,idx_category_id PRIMARY 3 mahm3t_cs443.cscart_products_categories.category_id 1 Using where
1 SIMPLE cscart_seo_names const PRIMARY,dispatch PRIMARY 210 const,const,const,const,const 1 Using where
1 SIMPLE cscart_discussion const object_id,company_id object_id 10 const,const,const 1 Using where

Result

product_id product_code product_type status company_id list_price amount weight length width height shipping_freight low_avail_limit timestamp updated_timestamp usergroup_ids is_edp edp_shipping unlimited_download tracking free_shipping zero_price_action is_pbp is_op is_oper is_returnable return_period avail_since out_of_stock_actions localization min_qty max_qty qty_step list_qty_count tax_ids age_verification age_limit options_type exceptions_type details_layout shipping_params shipping_availability_id ms_type master_id unit_price aval_status facebook_obj_type cp_additinal_product_enabled cp_additinal_product_items cp_delivery_date youtube_link show_youtube_video replace_main_image size_chart_id staff_notes emo_pn emo_paczka emo_dostawca emo_kreskowy emo_nrdostawcy emo_uwagi emo_source lang_code product shortname short_description full_description meta_keywords meta_description search_words page_title age_warning_message unit_name promo_text stop_words amp_description custom_header price category_ids popularity company_name sales_amount seo_name seo_path discussion_type
3245 MAG-ATL-W-PS009-A0000-AT1A-2500 A 1 0.00 6.00 25.000 0 0 0 0.00 0 1450433815 1743601013 0 N N N B N R N N N Y 10 0 N 0 0 0 0 6 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 5 106 activity Y {"0":{"product_id":"[","amount":"[","modifier":"[","modifier_type":"A"},"1410600121":{"product_id":"505","amount":"0","modifier":"0","modifier_type":"A"}} 0 N N 0 Price update 21/11/2022 0 en Atlas Postar 80 | fast-efficient cement floor (10-80 mm) <p style="text-align: justify;"><span class="upper">ATLAS POSTAR 80</span> - fast-setting, fast-drying cement-based floor (10 - 80 mm)</p> <p style="text-align: justify;"><bold>Subfloor or floor of 10 to 80 mm thickness</bold> - the layer thickness depends on the designed floor set.</p> <p style="text-align: justify;"><bold> Recommended for quick repairs </bold> - fast-setting - rapidly reaches the operating parameters, which makes it possible to shorten the technological intervals and accelerates the application of the next layers: foot traffic is allowed after 3 hours; tile fixing - just after 24 hours.</p> <p style="text-align: justify;"><bold>May be used as a subfloor for finishing flooring layers, such as</bold>: wooden floor (parquet) or epoxy screeds - it is characterised by high cohesion and high resistance to shear strength, which may occur in the screed contact layer plane, e.g. during expansion<br /> and contraction of wood resulting from its humidity changes.</p> <p style="text-align: justify;"><bold>Forms a highly abrasion-resistant floor</bold> - recommended for residential buildings, warehouses, industrial buildings, driveways, terraces etc.</p> <p style="text-align: justify;"><bold>Suitable for the embedding of underfloor heating</bold> - it does not require additives improving flexibility and has a good thermal conductivity.</p> <p style="text-align: justify;"><bold>Enables to execute slopes and to repair of concrete surfaces, stairs, slabs, screeds.</bold></p> <h2 style="text-align: justify;">The main characteristics</h2> <ul> <li>fast-drying – work can be continued after 24 hours</li> <li>fast-setting - allows foot traffic after 3 hours</li> <li>limited linear shrinkage</li> <li>high compressive strength: &gt;40 N/mm²</li> <li>high cohesion, under parquets and epoxy screeds</li> </ul> <h2 style="text-align: justify;">The main parameters:</h2> <ul> <li>consumption: 20 kg /1 m² / 1 cm of thickness</li> <li>layer thickness: 10-80 mm</li> <li>compressive strength: min. 40 N/mm²</li> </ul> <h2 style="text-align: justify;">Types of finishing layers</h2> <ul> <li>ceramic and stone tiles,&nbsp;</li> <li>PVC flooring,&nbsp;</li> <li>carpet flooring,&nbsp;</li> <li>floor panels.</li> </ul> <h2 style="text-align: justify;">Types of possible arrangements</h2> <ul> <li><span style="font-weight: bold;">bonded floor </span>- thickness 10 - 80 mm – substrate of good quality concrete, cement screed (with or without floor heating)</li> <li><span style="font-weight: bold;">on separation layer </span>- thickness 35 - 80 mm – when the substrate is of poor quality, not guaranteeing proper adhesion - dusty, cracked, oil soaked, dirty, very absorbable; the separation layer can consist of, e.g. PE foil 0.2 mm thick</li> <li><span style="font-weight: bold;">floating</span> - thickness 40 - 80 mm – installed onto thermal or acoustic insulation of: expanded polystyrene of proper hardness, floor hardened panels of mineral wool, etc.</li> <li><span style="font-weight: bold;">heating</span> – the layer thickness over the heating layer should be at least 35 mm</li> </ul> <h2 style="text-align: justify;">Properties</h2> <ul> <li>Fast-drying - the residual moisture content for subfloor thickness of 4 cm is reduced to less than 2.6% after 24 hours from application (in standard conditions)</li> <li>Fast-setting - rapid strength development during the first day of setting.</li> <li>Thick plasticity - the mortar is easy to spread, float and allows to reach even surface.</li> <li>High compressive strength ≥ 40.0 N/mm2 - recommended for any surfaces subject to medium or high loads.</li> <li>Flexural strength: ≥ 7.0 N/mm2.</li> <li>Abrasion resistance ≤ 9.5 cm³/50 cm2 - according to Böhme (Technical Approval AT-15-8642/2010).</li> <li>Very low linear contraction – minimum linear changes of the subfloor during drying (at 0.6 mm/rm) limit the possibility of cracking.</li> <li>Changes in residual moisture content with time. The results were obtained at normal conditions at ca. 20°C and 55-60% humidity. Every time prior to the application of flooring materials it is necessary to perform humidity tests (CM method). <p>&nbsp;</p> <table border="1" cellpadding="2" cellspacing="2" style="width: 566px; text-align: left;"> <tbody> <tr> <td nowrap="nowrap" style="width: 169px; text-align: center;" valign="undefined">Time/layer thickness</td> <td nowrap="nowrap" style="width: 121px; text-align: center;" valign="undefined">1.5 cm</td> <td nowrap="nowrap" style="width: 121px; text-align: center;" valign="undefined">4.0 cm</td> <td nowrap="nowrap" style="width: 121px; text-align: center;" valign="undefined">7.0 cm</td> </tr> <tr> <td nowrap="nowrap" style="width: 169px; text-align: center;" valign="undefined">1 day</td> <td nowrap="nowrap" style="width: 121px; text-align: center;" valign="undefined">2.1%</td> <td nowrap="nowrap" style="width: 121px; text-align: center;" valign="undefined">2.6%</td> <td nowrap="nowrap" style="width: 121px; text-align: center;" valign="undefined">3.9%</td> </tr> <tr> <td nowrap="nowrap" style="width: 169px; text-align: center;" valign="undefined">3 days</td> <td nowrap="nowrap" style="width: 121px; text-align: center;" valign="undefined">1.8%</td> <td nowrap="nowrap" style="width: 121px; text-align: center;" valign="undefined">2.2%</td> <td nowrap="nowrap" style="width: 121px; text-align: center;" valign="undefined">2.9%</td> </tr> <tr> <td nowrap="nowrap" style="width: 169px; text-align: center;" valign="undefined">5 days</td> <td nowrap="nowrap" style="width: 121px; text-align: center;" valign="undefined">1.6%</td> <td nowrap="nowrap" style="width: 121px; text-align: center;" valign="undefined">1.8%</td> <td nowrap="nowrap" style="width: 121px; text-align: center;" valign="undefined">1.9%</td> </tr> </tbody> </table> <h2 style="text-align: justify;">Technical requirements</h2> <p style="text-align: justify;">ATLAS POSTAR 80 has been given the ITB Technological Approval No. AT-15-8462/2010. Domestic Declaration of Conformity No. 099 of<br /> 01.10.2010. It conforms to PN-EN 13813 standard. EC Declaration of Performance No. 099/CPR.</p> <table border="1" cellpadding="2" cellspacing="2" style="width: 623px; text-align: left;"> <tbody> <tr> <td nowrap="nowrap" style="width: 299px; text-align: center;" valign="undefined">CE</td> <td nowrap="nowrap" style="width: 306px; text-align: center;" valign="undefined">PN-EN 13813:2003<br /> (EN 13813:2002)</td> </tr> <tr align="center"> <td colspan="2" nowrap="nowrap" rowspan="1" style="width: 299px;" valign="undefined">Rough floor compound based on cement CT-C40-F7, for indoor<br /> use in dry and wet rooms</td> </tr> <tr> <td align="undefined" nowrap="nowrap" style="width: 299px;" valign="undefined">Reaction to fire - class</td> <td align="undefined" nowrap="nowrap" style="width: 306px;" valign="undefined">A1fl</td> </tr> <tr> <td align="undefined" nowrap="nowrap" style="width: 299px;" valign="undefined">Release of corrosive substances</td> <td align="undefined" nowrap="nowrap" style="width: 306px;" valign="undefined">CT</td> </tr> <tr> <td align="undefined" nowrap="nowrap" style="width: 299px;" valign="undefined">Compressive strength</td> <td align="undefined" nowrap="nowrap" style="width: 306px;" valign="undefined">C40 (≥ 40.0 N/mm2)</td> </tr> <tr> <td align="undefined" nowrap="nowrap" valign="undefined">Flexural strength</td> <td align="undefined" nowrap="nowrap" valign="undefined">F7 (≥ 7.0 N/mm2)</td> </tr> <tr> <td align="undefined" nowrap="nowrap" style="width: 299px;" valign="undefined">Abrasion resistance, water permeability, water vapour<br /> permeability, acoustic insulation, sound absorption,<br /> thermal resistance, chemical resistance</td> <td align="undefined" nowrap="nowrap" style="width: 306px;" valign="undefined">N/A</td> </tr> </tbody> </table> <p style="text-align: justify;">The product has been given the Hygiene Evaluation and the Radiation Hygiene Certificate.</p> <h2 style="text-align: justify;">Consumption</h2> <p style="text-align: justify;">The average material consumption is 20 kg of mortar for 1 m² for each 10 mm of layer thickness.</p> <h2 style="text-align: justify;">Packaging</h2> <p style="text-align: justify;">Paper bags: 25 kg<br /> Pallet: 1050 kg in 25 kg bags</p> </li> </ul> ✓fast-setting, ✓fast-drying ✓cement-based floor ✓layer thickness: 10-80 mm ✓for quick repairs ✓foot traffic is allowed after 3 hours; tile fixing - just after 24 hours ATLAS POSTAR 80 - fast-setting, fast-drying cement-based floor (10 - 80 mm) 25kg 33.290000 371 380825 baubaY.de 62 atlas-postar-80-fast-efficient-cement-floor 257/280/371 B