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 = 1 
  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 = 1 
  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 = 443 
  LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = 563 
  AND cscart_seo_names.type = 'p' 
  AND cscart_seo_names.dispatch = '' 
  AND cscart_seo_names.lang_code = 'en' 
  AND cscart_seo_names.company_id = 1 
  LEFT JOIN cscart_discussion ON cscart_discussion.object_id = cscart_products.product_id 
  AND cscart_discussion.object_type = 'P' 
  AND cscart_discussion.company_id = 1 
WHERE 
  cscart_products.product_id = 563 
  AND (
    companies.status = 'A' 
    OR cscart_products.company_id = 0
  ) 
GROUP BY 
  cscart_products.product_id

Query time 0.00114

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 range usergroup,product_id,company_id,lower_limit,usergroup_id usergroup 13 2 Using where; Using join buffer (flat, BNL join)
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 4
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
563 eps-dp-st P A 1 0.00 0.00 2.500 0 0 0 0.00 0 1448460700 1743601045 0 N N N O 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 M 0 1 0 activity N [] 0 N N 0 0 en EPS Roof & Floor STANDARD (CS ≥ 60 kPa) <p>Standard HOT DOTTED expanded polystyrene recommended for insulating roofs, ceilings and floors. STANDARD roof and floor expanded polystyrene carries mechanical loads of up to 1.8 t/m².</p> <h2>EPS technical data:</h2> <ul> <li>thickness - from 20-300 mm</li> <li>length 1000 mm</li> <li>width 500 mm</li> <li>bending strength level BS100 ≥ 100 kPa</li> <li>Compressive stress at 10% relative deformation CS(10)60 ≥ 60 kPa</li> <li>declared thermal conductivity ratio λD at a temperature of 10°C - 0,040 W/(m*K)</li> <li>fire reaction class E</li> <li>does not contain substances hermful to health and the environment</li> <li>does not destroy the ozone layer, contains only permitted biocides</li> <li>produced according to requirements of the standard PN-EN ISO 14021:2016-06</li> </ul> <h2>EPS application</h2> <ul> <li>ground floors in residential, public and industrial buildings with small loads</li> <li>floors with underfloor heating systems</li> <li>floors on all kinds of rigid ceiling structures</li> <li>floors of public buildings</li> <li>flat roofs</li> <li>external ceilings</li> <li>light structure roofs (trapezoid metal sheet roofs)</li> <li>verandas, balconies</li> </ul> <h2>How to install polystyrene boards</h2> <p style="text-align: justify;">EPS boards should be applied in accordance with the best building practice and the guidelines contained in the construction design. The basic guidelines for laying the thermal insulation of floors and ceilings are as follows: make sure that the screed is flat and dry, otherwise level it out. The floors on the ground require a moisture barrier (in the form of tar paper, PE film, bituminous, water-based sealants). In ceilings between floors, apply a separating layer of PE film. Where the floor meets the wall, use an expansion jointing tape. Start laying the boards in the corner and place the first row of boards from the wall by pushing them against the expansion jointing tape. Subsequent rows should be laid in offset configuration, avoiding the crossing of board joints. When all insulation is in place (can be in two or more layers), spread a PE film with a minimum of 0.2 mm in thickness, to protect the board joints from moisture and penetration of the screed into the spaces between the EPS boards. Where water-based floor heating is used, install the heating cables with suitable clips on the boards on which the PE film is already spread. Please note that the thickness of the screed needs to be increased by the outer diameter of the floor heating cables.</p> <h2>Packaging, storage, transport of EPS</h2> <p style="text-align: justify;">STANDARD roof/floor boards are supplied in the original manufacturer's packaging only. The label on the packaging contains the following information: product name, manufacturer's name and factory name, production date, Standard EN 13163 number, code according to this standard, declared technical characteristics.</p> <p>STANDARD roof/floor boards should be stored in a manner to protect them against damage and weather conditions.</p> <h2>Thermal resistance of the EPS for ROOFS &amp; FLOORS</h2> <table> <tbody> <tr> <td style="text-align: center; width: 15%;">Thickness</td> <td style="text-align: center; width: 17%;"><a href="index.php?dispatch=products.view&amp;product_id=10218">Thermo<br /> Plus</a></td> <td style="text-align: center; width: 17%;"><a href="index.php?dispatch=products.view&amp;product_id=566">Thermo</a></td> <td style="text-align: center; width: 17%;"><a href="index.php?dispatch=products.view&amp;product_id=565">Gold</a></td> <td style="text-align: center; width: 17%;"><a href="index.php?dispatch=products.view&amp;product_id=564">Silver</a></td> <td style="text-align: center; width: 17%;"><a href="index.php?dispatch=products.view&amp;product_id=563">Standard</a></td> </tr> <tr> <td colspan="1" rowspan="1" style="text-align: center; width: 15%;">mm</td> <td colspan="5" rowspan="1" style="text-align: center; width: 85%;"><sup>m<sup>2</sup>K</sup>/<sub>W</sub></td> </tr> <tr> <td style="text-align: center;">10</td> <td colspan="2" rowspan="1" style="text-align: center;">0.30</td> <td style="text-align: center;">0.25</td> <td style="text-align: center;">0.25</td> <td style="text-align: center;">0.25</td> </tr> <tr> <td style="text-align: center;">20</td> <td colspan="2" rowspan="1" style="text-align: center;">0.60</td> <td style="text-align: center;">0.55</td> <td style="text-align: center;">0.50</td> <td style="text-align: center;">0.50</td> </tr> <tr> <td style="text-align: center;">30</td> <td colspan="2" rowspan="1" style="text-align: center;">0.90</td> <td style="text-align: center;">0.80</td> <td style="text-align: center;">0.80</td> <td style="text-align: center;">0.75</td> </tr> <tr> <td style="text-align: center;">40</td> <td colspan="2" rowspan="1" style="text-align: center;">1.25</td> <td style="text-align: center;">1.10</td> <td style="text-align: center;">1.05</td> <td style="text-align: center;">1.00</td> </tr> <tr> <td style="text-align: center;">50</td> <td colspan="2" rowspan="1" style="text-align: center;">1.60</td> <td style="text-align: center;">1.35</td> <td style="text-align: center;">1.35</td> <td style="text-align: center;">1.25</td> </tr> <tr> <td style="text-align: center;">60</td> <td colspan="2" rowspan="1" style="text-align: center;">1.90</td> <td style="text-align: center;">1.65</td> <td style="text-align: center;">1.60</td> <td style="text-align: center;">1.50</td> </tr> <tr> <td style="text-align: center;">70</td> <td colspan="2" rowspan="1" style="text-align: center;">2.25</td> <td style="text-align: center;">1.90</td> <td style="text-align: center;">1.85</td> <td style="text-align: center;">1.75</td> </tr> <tr> <td style="text-align: center;">80</td> <td colspan="2" rowspan="1" style="text-align: center;">2.55</td> <td style="text-align: center;">2.20</td> <td style="text-align: center;">2.15</td> <td style="text-align: center;">2.00</td> </tr> <tr> <td style="text-align: center;">90</td> <td colspan="2" rowspan="1" style="text-align: center;">2.90</td> <td style="text-align: center;">2.50</td> <td style="text-align: center;">2.40</td> <td style="text-align: center;">2.25</td> </tr> <tr> <td style="text-align: center;">100</td> <td colspan="2" rowspan="1" style="text-align: center;">3.20</td> <td style="text-align: center;">2.75</td> <td style="text-align: center;">2.70</td> <td style="text-align: center;">2.50</td> </tr> <tr> <td style="text-align: center;">110</td> <td colspan="2" rowspan="1" style="text-align: center;">3.50</td> <td style="text-align: center;">3.05</td> <td style="text-align: center;">2.95</td> <td style="text-align: center;">2.75</td> </tr> <tr> <td style="text-align: center;">120</td> <td colspan="2" rowspan="1" style="text-align: center;">3.85</td> <td style="text-align: center;">3.30</td> <td style="text-align: center;">3.20</td> <td style="text-align: center;">3.00</td> </tr> <tr> <td style="text-align: center;">130</td> <td colspan="2" rowspan="1" style="text-align: center;">4.15</td> <td style="text-align: center;">3.60</td> <td style="text-align: center;">3.50</td> <td style="text-align: center;">3.25</td> </tr> <tr> <td style="text-align: center;">140</td> <td colspan="2" rowspan="1" style="text-align: center;">4.50</td> <td style="text-align: center;">3.85</td> <td style="text-align: center;">3.75</td> <td style="text-align: center;">3.50</td> </tr> <tr> <td style="text-align: center;">150</td> <td colspan="2" rowspan="1" style="text-align: center;">4.80</td> <td style="text-align: center;">4.15</td> <td style="text-align: center;">4.05</td> <td style="text-align: center;">3.75</td> </tr> <tr> <td style="text-align: center;">160</td> <td colspan="2" rowspan="1" style="text-align: center;">5.15</td> <td style="text-align: center;">4.40</td> <td style="text-align: center;">4.30</td> <td style="text-align: center;">4.00</td> </tr> <tr> <td style="text-align: center;">170</td> <td colspan="2" rowspan="1" style="text-align: center;">5.45</td> <td style="text-align: center;">4.70</td> <td style="text-align: center;">4.55</td> <td style="text-align: center;">4.25</td> </tr> <tr> <td style="text-align: center;">180</td> <td colspan="2" rowspan="1" style="text-align: center;">5.80</td> <td style="text-align: center;">5.00</td> <td style="text-align: center;">4.85</td> <td style="text-align: center;">4.50</td> </tr> <tr> <td style="text-align: center;">190</td> <td colspan="2" rowspan="1" style="text-align: center;">6.10</td> <td style="text-align: center;">5.25</td> <td style="text-align: center;">5.10</td> <td style="text-align: center;">4.75</td> </tr> <tr> <td style="text-align: center;">200</td> <td colspan="2" rowspan="1" style="text-align: center;">6.45</td> <td style="text-align: center;">5.50</td> <td style="text-align: center;">5.40</td> <td style="text-align: center;">5.00</td> </tr> </tbody> </table> ✓white EPS for roof and floor ✓ residential, public and industrial buildings with small loads ✓all kinds of rigid ceiling structures ✓flat roofs ✓verandas, balconies ✓check it now! EPS Roof & Floor with compressive strength CS ≥ 60 kPa) <p style="border: dotted; padding: 5px;"><span style="color:#FF0000;"> À cause de la taille des marchandises, elles doivent être livrées par le gros camion.&nbsp;En raison des frais de transport, l'achat est généralement rentable lorsque la commande totale dépasse 25 m³ = 250 m² de 10 cm ou 167 m² de 15 cm ou 125 m² de 20 cm.</span></p> 3.280000 886,443M 127975 baubaY.de 48 eps-roof-and-floor-standard 415/428/443 B