SELECT 
  cscart_bm_snapping.grid_id as grid_id, 
  cscart_bm_snapping.block_id as block_id, 
  IFNULL(
    dynamic_object_content.content, 
    default_content.content
  ) as content, 
  IFNULL(
    dynamic_object_content.object_id, 
    default_content.object_id
  ) AS object_id, 
  IFNULL(
    dynamic_object_content.object_type, 
    default_content.object_type
  ) AS object_type, 
  cscart_bm_block_statuses.object_ids as object_ids, 
  cscart_bm_snapping.*, 
  cscart_bm_blocks.*, 
  cscart_bm_blocks_descriptions.* 
FROM 
  cscart_bm_snapping 
  LEFT JOIN cscart_bm_blocks ON cscart_bm_blocks.block_id = cscart_bm_snapping.block_id 
  LEFT JOIN cscart_bm_block_statuses ON cscart_bm_snapping.snapping_id = cscart_bm_block_statuses.snapping_id 
  AND cscart_bm_block_statuses.object_type LIKE 'categories' 
  LEFT JOIN cscart_bm_blocks_descriptions ON cscart_bm_blocks.block_id = cscart_bm_blocks_descriptions.block_id 
  LEFT JOIN cscart_bm_blocks_content AS default_content ON cscart_bm_blocks.block_id = default_content.block_id 
  AND cscart_bm_blocks_descriptions.lang_code = default_content.lang_code 
  AND default_content.snapping_id = 0 
  AND default_content.object_id = 0 
  AND default_content.object_type like '' 
  LEFT JOIN cscart_bm_blocks_content AS dynamic_object_content ON cscart_bm_blocks.block_id = dynamic_object_content.block_id 
  AND cscart_bm_blocks_descriptions.lang_code = dynamic_object_content.lang_code 
  AND dynamic_object_content.object_id = 778 
  AND dynamic_object_content.object_type like 'categories' 
WHERE 
  cscart_bm_snapping.grid_id IN (
    1883, 1884, 1885, 1886, 1887, 1910, 1911, 
    1912, 2211, 1872, 1876, 1877, 1878, 
    1879, 1881, 1882, 1870, 1873, 1875, 
    1874, 1880, 1871, 2213, 2214, 1889, 
    1890
  ) 
  AND cscart_bm_blocks_descriptions.lang_code = 'fr' 
  AND cscart_bm_blocks.company_id = 3 
ORDER BY 
  cscart_bm_snapping.order, 
  cscart_bm_snapping.block_id

Query time 0.00229

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE cscart_bm_snapping range grid_id grid_id 4 38 Using index condition; Using filesort
1 SIMPLE cscart_bm_block_statuses ref snapping_id snapping_id 4 mahm3t_cs443.cscart_bm_snapping.snapping_id 1 Using where
1 SIMPLE cscart_bm_blocks eq_ref PRIMARY PRIMARY 4 mahm3t_cs443.cscart_bm_snapping.block_id 1 Using where
1 SIMPLE cscart_bm_blocks_descriptions eq_ref PRIMARY PRIMARY 10 mahm3t_cs443.cscart_bm_snapping.block_id,const 1 Using index condition
1 SIMPLE default_content ref PRIMARY PRIMARY 18 mahm3t_cs443.cscart_bm_snapping.block_id,const,mahm3t_cs443.cscart_bm_blocks_descriptions.lang_code,const 1 Using where
1 SIMPLE dynamic_object_content ref PRIMARY PRIMARY 4 mahm3t_cs443.cscart_bm_snapping.block_id 5 Using where

Result

grid_id block_id content object_id object_type object_ids snapping_id wrapper user_class order status type properties company_id fpc_exclude_cache lang_code name
1889 489 0 2405 0 D languages a:4:{s:8:"template";s:20:"blocks/languages.tpl";s:4:"text";s:0:"";s:6:"format";s:4:"icon";s:14:"dropdown_limit";s:1:"1";} 3 N fr Languages
2213 492 0 2833 0 A template a:1:{s:8:"template";s:34:"blocks/static_templates/search.tpl";} 3 N fr Search
1887 495 a:1:{s:5:"items";a:2:{s:7:"filling";s:13:"full_tree_cat";s:18:"parent_category_id";s:0:"";}} 0 2400 0 D categories a:3:{s:8:"template";s:52:"blocks/categories/categories_dropdown_horizontal.tpl";s:30:"dropdown_second_level_elements";s:2:"12";s:29:"dropdown_third_level_elements";s:2:"12";} 3 N fr Top menu
1912 499 0 2439 blocks/wrappers/mainbox_general.tpl 0 A main 3 N fr Main Content
1873 554 a:1:{s:7:"content";s:125:"<p><img alt="Paypal Verified" rel="margin-top: 5px;" src="/images/firma/paypal_verified.png" style="margin-top: 5px;" /></p> ";} 0 2388 0 A html_block a:1:{s:8:"template";s:21:"blocks/html_block.tpl";} 3 N fr paypal_verified
1890 599 0 2407 blocks/wrappers/onclick_dropdown.tpl top-my-account 0 A my_account a:1:{s:8:"template";s:21:"blocks/my_account.tpl";} 3 Y fr My Account
1876 604 0 2390 blocks/wrappers/footer_general.tpl 0 A template a:1:{s:8:"template";s:44:"blocks/static_templates/my_account_links.tpl";} 3 N fr My account
1871 650 a:1:{s:7:"content";s:388:"<div class="ty-social-link-block"><h3 class="ty-social-link__title">{__("get_social")}</h3> <div class="ty-social-link facebook"> <a href="https://web.facebook.com/matbayfr-930435900359890"><i class="ty-icon-facebook"></i> Facebook</a> </div> <div class="ty-social-link twitter"> <a href="https://twitter.com"><i class="ty-icon-twitter"></i> Twitter</a> </div></div> ";} 0 2386 0 A smarty_block a:1:{s:8:"template";s:23:"blocks/smarty_block.tpl";} 3 N fr Social links
1885 651 0 2398 0 D call_request a:1:{s:8:"template";s:44:"addons/call_requests/blocks/call_request.tpl";} 3 N fr Call request
1889 663 0 2406 0 D currencies a:4:{s:8:"template";s:21:"blocks/currencies.tpl";s:4:"text";s:0:"";s:6:"format";s:6:"symbol";s:14:"dropdown_limit";s:1:"0";} 3 N fr Currencies
1882 682 a:1:{s:7:"content";s:116:"<img alt="SSL Certificate" src="/images/firma/comodo_secure_100x85_white.png" style="width: 100px; height: 85px;" />";} 0 2554 0 D html_block a:1:{s:8:"template";s:21:"blocks/html_block.tpl";} 3 N fr Comodo Secure SSL
1872 798 a:1:{s:7:"content";s:104:"<p><img alt="matbay.fr Forbes Diamant" src="/images/firma/Diament_Forbes_2021_white_h125px.png" /></p> ";} 0 2826 0 A html_block a:1:{s:8:"template";s:21:"blocks/html_block.tpl";} 3 N fr Forbes fr
2211 800 a:1:{s:7:"content";s:1414:"<p style="text-align: center;"><span style="font-size:24px;">PayPal à propos de matbaY.fr</span></p> <p style="text-align: center;"><span style="color: rgb(255, 0, 0); font-family: PayPal-Sans, sans-serif; font-size: 14.88px; text-align: center;">Vous avez des clients satisfaits, de bonnes évaluations de vendeur sur PayPal et nous avons toutes les informations dont nous avons besoin pour protéger votre compte.</span><br style="color: rgb(255, 0, 0); font-family: PayPal-Sans, sans-serif; font-size: 14.88px; text-align: center;" /> <span style="color: rgb(255, 0, 0); font-family: PayPal-Sans, sans-serif; font-size: 14.88px; text-align: center;">&nbsp;</span><span style="color: rgb(255, 0, 0); font-family: PayPal-Sans, sans-serif; font-size: 14.88px; text-align: center;">Cela dit, vous avez un excellent historique de ventes avec PayPal. Continue comme ça !</span></p> <p style="text-align: center;"><img alt="" src="https://d2d2yzufo5fwh3.cloudfront.net/images/firma/paypal_cart_fr.PNG" style="width: 330px; height: 130px; margin: 5px 10px;" /><img alt="" src="https://d2d2yzufo5fwh3.cloudfront.net/images/firma/paypal_heart_fr_.PNG" style="width: 330px; height: 130px; margin: 5px 10px;" /><img alt="" src="https://d2d2yzufo5fwh3.cloudfront.net/images/firma/paypal_shield_fr_.PNG" style="width: 350px; height: 130px; margin: 5px 10px;" /></p> <div style="text-align: center;">&nbsp;</div> ";} 0 744 2831 0 A html_block a:1:{s:8:"template";s:21:"blocks/html_block.tpl";} 3 N fr Paypal refferences fr
1911 818 a:1:{s:5:"items";a:2:{s:7:"filling";s:22:"subcategories_tree_cat";s:7:"sort_by";s:8:"position";}} 0 2852 blocks/wrappers/sidebox_general.tpl 0 D categories a:1:{s:8:"template";s:43:"blocks/categories/categories_text_links.tpl";} 3 N fr Catégories
1890 491 a:1:{s:4:"menu";s:1:"6";} 0 2465 top-quick-links 1 A menu a:2:{s:8:"template";s:26:"blocks/menu/text_links.tpl";s:18:"show_items_in_line";s:1:"Y";} 3 N fr Quick links
1910 498 0 2433 1 A breadcrumbs a:1:{s:8:"template";s:22:"common/breadcrumbs.tpl";} 3 N fr Breadcrumbs
1882 510 0 2393 1 A payment_methods a:1:{s:8:"template";s:19:"blocks/payments.tpl";} 3 N fr Payments
1911 657 a:1:{s:5:"items";a:2:{s:7:"filling";s:8:"manually";s:8:"item_ids";s:0:"";}} 0 2435 blocks/wrappers/sidebox_general.tpl 1 A product_filters a:1:{s:8:"template";s:35:"blocks/product_filters/original.tpl";} 3 N fr Les filtres
1912 758 a:1:{s:7:"content";s:3014:"<h2>Matériau pour plaque de plâtre</h2> <p>La construction de plaque de plâtre est l'une des options les plus importantes en matière de design d'intérieur. Le principe est appelé construction sèche, car aucun matériau de construction contenant de l'eau (argile, mortier, béton, etc.) n'est requis lors de la construction.</p> <p>La construction sèche fait donc également partie des méthodes de construction légère. Dans le processus, des structures non porteuses sont surélevées, qui peuvent être utilisées comme cloisons, par exemple, pour redistribuer les espaces intérieurs ou pour masquer l'isolation intérieure.</p> <p>La construction sèche permet des changements structurels à l'intérieur sans affecter la structure portante. Il est donc également idéal pour les travaux de rénovation.</p> <h2>Avantages de la construction sèche</h2> <p>Les plaques de&nbsp;plâtre sont populaires non seulement en raison de leur flexibilité, mais aussi en raison du coût relativement faible des matériaux de cloisons sèches. Ce type de construction utilise principalement des plaques de plâtre, qui sont montées dans un cadre en profilés métalliques.</p> <p>Par rapport à la construction en coque, aucune brique ou ciment ne doit être utilisé ici. Étant donné que la cloison sèche ne remplit pas de fonction porteuse, des structures beaucoup plus minces peuvent être réalisées. Cela ouvre de nombreuses possibilités intéressantes pour la décoration intérieure. Par exemple, les sous-planchers et les planchers creux ou les plafonds suspendus peuvent être réalisés avec des produits de construction secs. Les concepts de pièce dans la pièce peuvent également être mis en œuvre plus facilement et à moindre coût qu'avec des méthodes de construction solides.</p> <p>Protection contre l'incendie.</p> <p>Dans le cas où certaines règles de sécurité incendie doivent être respectées, des panneaux de fibres de gypse spéciaux et une isolation ignifuge peuvent être utilisés. De la même manière, des matériaux de construction secs imprégnés sont disponibles pour les pièces humides telles que les salles de bains, qui peuvent tolérer une forte humidité.</p> <p>Les exigences structurelles en matière de protection contre la chaleur, le bruit et l'incendie peuvent donc également être satisfaites avec des produits de construction secs. Un autre avantage est bien sûr le temps de construction plus court.</p> <h2>Commandez en ligne des matériaux de construction</h2> <p>Vous pouvez facilement acheter le matériel pour la construction de cloisons sèches dans notre boutique en ligne. Outre les plaques de plâtre et les profilés pour murs et plafonds, notre gamme de matériaux de construction secs comprend également des peintures à base d'acrylique ou d'autres accessoires.</p> <p>Si vous avez des questions sur nos matériaux de construction ou si vous souhaitez des conseils, notre service vous aidera.</p> ";} 778 categories 782,806,811,796,771,737,746,747,902,814,816,778,768 2771 1 D html_block a:1:{s:8:"template";s:21:"blocks/html_block.tpl";} 3 N fr Category SEO text
1887 822 a:1:{s:4:"menu";s:1:"8";} 0 2856 1 A menu a:3:{s:8:"template";s:35:"blocks/menu/dropdown_horizontal.tpl";s:30:"dropdown_second_level_elements";s:2:"12";s:29:"dropdown_third_level_elements";s:1:"6";} 3 N fr Top menu FR
1884 492 0 2397 top-search 2 A template a:1:{s:8:"template";s:34:"blocks/static_templates/search.tpl";} 3 N fr Search
1886 493 0 2399 top-cart-content 2 A cart_content a:4:{s:8:"template";s:23:"blocks/cart_content.tpl";s:22:"display_bottom_buttons";s:1:"Y";s:20:"display_delete_icons";s:1:"Y";s:19:"products_links_type";s:5:"thumb";} 3 Y fr Cart content
2214 493 0 2834 2 A cart_content a:4:{s:8:"template";s:23:"blocks/cart_content.tpl";s:22:"display_bottom_buttons";s:1:"Y";s:20:"display_delete_icons";s:1:"Y";s:19:"products_links_type";s:5:"thumb";} 3 Y fr Cart content
1874 501 a:1:{s:7:"content";s:440:"<!-- Beginn des Händlerbund HTML-Code --><!-- Der HTML-Code darf im Sinne der einwandfreien Funktionalität nicht verändert werden! --> <p> <a href="https://logo.haendlerbund.de/show.php?mid=13A688B85DE&lang=eng" target="_blank"> <img alt="Mitglied im Händlerbund" border="0" height="120" hspace="5" src="images/firma/hbm120.png" title="Händlerbund Mitglied" vspace="5" width="120" /> </a> <!-- Ende des Händlerbund HTML-Code --></p> ";} 0 2387 2 A html_block a:1:{s:8:"template";s:21:"blocks/html_block.tpl";} 3 N fr Haendlerbund
1881 509 0 2394 2 A template a:1:{s:8:"template";s:37:"blocks/static_templates/copyright.tpl";} 3 N fr Copyright
1882 511 0 2395 2 D template a:1:{s:8:"template";s:41:"blocks/static_templates/payment_icons.tpl";} 3 N fr Payment icons
1911 598 a:1:{s:5:"items";a:2:{s:7:"filling";s:15:"recent_products";s:5:"limit";s:1:"5";}} 0 2436 blocks/wrappers/sidebox_general.tpl 2 A products a:11:{s:8:"template";s:37:"blocks/products/products_scroller.tpl";s:10:"show_price";s:1:"Y";s:17:"enable_quick_view";s:1:"N";s:24:"not_scroll_automatically";s:1:"N";s:15:"scroll_per_page";s:1:"N";s:5:"speed";s:3:"400";s:11:"pause_delay";s:1:"3";s:13:"item_quantity";s:1:"1";s:15:"thumbnail_width";s:2:"80";s:18:"outside_navigation";s:1:"Y";s:23:"hide_add_to_cart_button";s:1:"Y";} 3 N fr Vu récemment
1910 601 a:1:{s:5:"items";a:1:{s:7:"filling";s:8:"manually";}} 0 2434 2 D product_filters a:1:{s:8:"template";s:43:"blocks/product_filters/selected_filters.tpl";} 3 N fr Selected product filters
1877 605 a:1:{s:7:"content";s:478:" <ul id="customer_service_links"> <li class="ty-footer-menu__item"><a href="{"orders.search"|fn_url}">Votre commande</a></li> <li class="ty-footer-menu__item"><a href="{"wishlist.view"|fn_url}">Liste de souhaits</a></li> <li class="ty-footer-menu__item"><a href="{"product_features.compare"|fn_url}">Liste de comparaison</a></li> </ul>";} 0 2391 blocks/wrappers/footer_general.tpl footer-no-wysiwyg 2 A smarty_block a:1:{s:8:"template";s:23:"blocks/smarty_block.tpl";} 3 N fr Service Clients
1878 606 a:1:{s:7:"content";s:676:"<ul id="customer_service_links"> <li class="ty-footer-menu__item"><a href="{"pages.view?page_id=2"|fn_url}">Qui sommes-nous</a></li> <li class="ty-footer-menu__item"><a href="{"pages.view?page_id=53"|fn_url}">Contactez nous</a></li> <li class="ty-footer-menu__item"><a href="{"pages.view?page_id=54"|fn_url}">Prix & Livraison</a></li> <li class="ty-footer-menu__item"><a href="{"pages.view?page_id=72"|fn_url}">Conditions Générales</a></li> <li class="ty-footer-menu__item"><a href="{"pages.view?page_id=73"|fn_url}">Rétractation </a></li> <li class="ty-footer-menu__item"><a href="{"pages.view?page_id=74"|fn_url}">Politique de données personnelles </a></li> </ul>";} 0 2392 blocks/wrappers/footer_general.tpl footer-no-wysiwyg 2 A smarty_block a:1:{s:8:"template";s:23:"blocks/smarty_block.tpl";} 3 N fr Information
1883 662 0 2396 2 A template a:1:{s:8:"template";s:32:"blocks/static_templates/logo.tpl";} 3 N fr Logo
1887 817 a:1:{s:7:"content";s:1708:"<meta content="width=device-width, initial-scale=1" name="viewport" /> <style type="text/css">#demo { border: 1px grey dashed; background-color: #FFCC00; color: black; font-family: 'Open Sans',sans-serif; font-weight: bold; text-align: center; font-size: max(3vh, 18px); margin-top: 10px; } </style> <p id="demo">&nbsp;</p> <script> // Set the date we're counting down to var countDownDate = new Date("Mar 03, 2024 23:59:59").getTime(); // Update the count down every 1 second var x = setInterval(function() { // Get today's date and time var now = new Date().getTime(); // Find the distance between now and the count down date var distance = countDownDate - now; // Time calculations for days, hours, minutes and seconds var days = Math.floor(distance / (1000 * 60 * 60 * 24)); var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); var seconds = Math.floor((distance % (1000 * 60)) / 1000); // Output the result in an element with id="demo" document.getElementById("demo").innerHTML = "Fenêtre de toit VELUX jusqu'à 10% moins cher | à partir de €225 | " + "Il ne reste que " + days + " jours : " + hours + " S : " + minutes + " m : " + seconds + " s"; // If the count down is over, write some text if (distance < 0) { clearInterval(x); document.getElementById("demo").innerHTML = ""; } }, 1000); </script> <p style="text-align: center;"><a class="ty-btn ty-btn__primary" href="fenetres-de-toit/velux-fenetres/fenetres-velux/" rel="nofollow">Obtenez jusqu'à 10% de réduction</a></p> ";} 0 2851 2 D html_block a:1:{s:8:"template";s:21:"blocks/html_block.tpl";} 3 N fr Promo
1911 599 0 2437 blocks/wrappers/sidebox_general.tpl 3 D my_account a:1:{s:8:"template";s:21:"blocks/my_account.tpl";} 3 Y fr My Account
1887 814 a:1:{s:7:"content";s:179:"<p style="text-align: center;"><a href="https://www.matbay.fr/fenetres-de-toit/velux/"><img alt="" src="/images/companies/3/baner-velux-schon-ab-fr.png?1730199801477" /></a></p> ";} 0 2848 3 A html_block a:1:{s:8:"template";s:21:"blocks/html_block.tpl";} 3 N fr Baner
1887 701 a:1:{s:7:"content";s:1617:"<meta content="width=device-width, initial-scale=1" name="viewport" /> <style type="text/css">#demo { border: 1px grey dashed; background-color: #FFCC00; color: black; font-family: 'Open Sans',sans-serif; font-weight: bold; text-align: center; font-size: max(3vh, 18px); margin-top: 10px; } </style> <p id="demo">&nbsp;</p> <script> // Set the date we're counting down to var countDownDate = new Date("Nov 26, 2023 23:59:59").getTime(); // Update the count down every 1 second var x = setInterval(function() { // Get today's date and time var now = new Date().getTime(); // Find the distance between now and the count down date var distance = countDownDate - now; // Time calculations for days, hours, minutes and seconds var days = Math.floor(distance / (1000 * 60 * 60 * 24)); var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); var seconds = Math.floor((distance % (1000 * 60)) / 1000); // Output the result in an element with id="demo" document.getElementById("demo").innerHTML = "Black Weekend | Économisez 5% | " + "Il ne reste que " + days + " Jours : " + hours + " h : " + minutes + " m : " + seconds + " s"; // If the count down is over, write some text if (distance < 0) { clearInterval(x); document.getElementById("demo").innerHTML = ""; } }, 1000); </script> <p style="text-align: center;">Utilisez simplement le code promo de "<strong>black</strong>" qui se trouve dans le panier</p> ";} 0 2568 4 D html_block a:1:{s:8:"template";s:21:"blocks/html_block.tpl";} 3 N fr Slogan
1887 751 a:1:{s:7:"content";s:217:"<p><span style="font-size:18px;">Chers clients,</span></p> <p><span style="font-size:18px;">Le service clientèle n'est pas disponible aujourd'hui. Les commandes en ligne fonctionnent comme d'habitude.</span></p> ";} 0 2764 addons/ecl_popup_wrapper/blocks/wrappers/popup_window.tpl 5 D html_block a:1:{s:8:"template";s:21:"blocks/html_block.tpl";} 3 N fr Annonce