SELECT 
  cscart_pages.*, 
  cscart_page_descriptions.*, 
  IF(
    cscart_banners.abt__yt_youtube_use = 'Y' 
    and trim(
      cscart_banner_descriptions.abt__yt_youtube_id
    ) != '', 
    trim(
      cscart_banner_descriptions.abt__yt_youtube_id
    ), 
    ''
  ) as abt__yt_youtube_id, 
  IF(
    cscart_banners.abt__yt_product_list_use = 'Y' 
    and trim(
      cscart_banners.abt__yt_product_list
    ) != '', 
    trim(
      cscart_banners.abt__yt_product_list
    ), 
    ''
  ) as abt__yt_product_list 
FROM 
  cscart_pages 
  LEFT JOIN cscart_page_descriptions ON cscart_pages.page_id = cscart_page_descriptions.page_id 
  AND cscart_page_descriptions.lang_code = 'en' 
  LEFT JOIN cscart_banners ON (
    cscart_banners.abt__yt_page_id = cscart_pages.page_id 
    AND cscart_banners.abt__yt_page_id > 0 
    AND cscart_banners.status = 'A' 
    AND cscart_banners.abt__yt_data_type = 'blog' 
    AND (
      cscart_banners.abt__yt_youtube_use = 'Y' 
      OR (
        cscart_banners.abt__yt_product_list_use = 'Y' 
        AND trim(
          cscart_banners.abt__yt_product_list
        ) != ''
      )
    ) 
    AND (
      cscart_banners.abt__yt_use_avail_period = 'N' 
      OR (
        cscart_banners.abt__yt_use_avail_period = 'Y' 
        AND cscart_banners.abt__yt_avail_from <= 1782748116 
        AND cscart_banners.abt__yt_avail_till >= 1782748116
      )
    )
  ) 
  LEFT JOIN cscart_banner_descriptions ON (
    cscart_banner_descriptions.banner_id = cscart_banners.banner_id 
    AND cscart_banner_descriptions.lang_code = 'en'
  ) 
  INNER JOIN cscart_ult_objects_sharing ON (
    cscart_ult_objects_sharing.share_object_id = cscart_pages.page_id 
    AND cscart_ult_objects_sharing.share_company_id = 1 
    AND cscart_ult_objects_sharing.share_object_type = 'pages'
  ) 
WHERE 
  1 
  AND cscart_pages.parent_id IN (7) 
  AND cscart_pages.status IN ('A') 
  AND cscart_pages.page_type IN ('B') 
  AND (
    cscart_pages.usergroup_ids = '' 
    OR FIND_IN_SET(0, cscart_pages.usergroup_ids) 
    OR FIND_IN_SET(1, cscart_pages.usergroup_ids)
  ) 
  AND (
    cscart_pages.use_avail_period = 'N' 
    OR (
      cscart_pages.use_avail_period = 'Y' 
      AND cscart_pages.avail_from_timestamp <= 1782748116 
      AND (
        cscart_pages.avail_till_timestamp >= 1782748116 
        OR cscart_pages.avail_till_timestamp = 0
      )
    )
  ) 
ORDER BY 
  cscart_pages.timestamp desc 
LIMIT 
  0, 10

Query time 0.00116

JSON explain

{
  "query_block": {
    "select_id": 1,
    "filesort": {
      "sort_key": "cscart_pages.`timestamp` desc",
      "temporary_table": {
        "nested_loop": [
          {
            "table": {
              "table_name": "cscart_pages",
              "access_type": "ALL",
              "possible_keys": ["PRIMARY", "parent_id"],
              "rows": 22,
              "filtered": 36.36363602,
              "attached_condition": "cscart_pages.parent_id = 7 and cscart_pages.`status` = 'A' and cscart_pages.page_type = 'B' and (cscart_pages.usergroup_ids = '' or find_in_set(0,cscart_pages.usergroup_ids) or find_in_set(1,cscart_pages.usergroup_ids)) and (cscart_pages.use_avail_period = 'N' or cscart_pages.use_avail_period = 'Y' and cscart_pages.avail_from_timestamp <= 1782748116 and (cscart_pages.avail_till_timestamp >= 1782748116 or cscart_pages.avail_till_timestamp = 0))"
            }
          },
          {
            "table": {
              "table_name": "cscart_page_descriptions",
              "access_type": "eq_ref",
              "possible_keys": ["PRIMARY"],
              "key": "PRIMARY",
              "key_length": "9",
              "used_key_parts": ["page_id", "lang_code"],
              "ref": ["n764025_kutubminar123.cscart_pages.page_id", "const"],
              "rows": 1,
              "filtered": 100,
              "attached_condition": "trigcond(cscart_page_descriptions.lang_code = 'en')"
            }
          },
          {
            "table": {
              "table_name": "cscart_ult_objects_sharing",
              "access_type": "eq_ref",
              "possible_keys": ["PRIMARY"],
              "key": "PRIMARY",
              "key_length": "159",
              "used_key_parts": [
                "share_object_id",
                "share_company_id",
                "share_object_type"
              ],
              "ref": [
                "n764025_kutubminar123.cscart_pages.page_id",
                "const",
                "const"
              ],
              "rows": 1,
              "filtered": 100,
              "attached_condition": "cscart_ult_objects_sharing.share_object_id = cscart_pages.page_id and cscart_ult_objects_sharing.share_object_type = 'pages'",
              "using_index": true
            }
          },
          {
            "block-nl-join": {
              "table": {
                "table_name": "cscart_banners",
                "access_type": "ALL",
                "possible_keys": ["status"],
                "rows": 24,
                "filtered": 100,
                "attached_condition": "cscart_banners.abt__yt_page_id > 0 and cscart_banners.`status` = 'A' and cscart_banners.abt__yt_data_type = 'blog' and (cscart_banners.abt__yt_youtube_use = 'Y' or cscart_banners.abt__yt_product_list_use = 'Y' and trim(cscart_banners.abt__yt_product_list) <> '') and (cscart_banners.abt__yt_use_avail_period = 'N' or cscart_banners.abt__yt_use_avail_period = 'Y' and cscart_banners.abt__yt_avail_from <= 1782748116 and cscart_banners.abt__yt_avail_till >= 1782748116)"
              },
              "buffer_type": "flat",
              "buffer_size": "87KiB",
              "join_type": "BNL",
              "attached_condition": "trigcond(cscart_banners.abt__yt_page_id = cscart_pages.page_id and cscart_banners.abt__yt_page_id > 0 and cscart_banners.`status` = 'A' and cscart_banners.abt__yt_data_type = 'blog' and (cscart_banners.abt__yt_youtube_use = 'Y' or cscart_banners.abt__yt_product_list_use = 'Y' and trim(cscart_banners.abt__yt_product_list) <> '') and (cscart_banners.abt__yt_use_avail_period = 'N' or cscart_banners.abt__yt_use_avail_period = 'Y' and cscart_banners.abt__yt_avail_from <= 1782748116 and cscart_banners.abt__yt_avail_till >= 1782748116))"
            }
          },
          {
            "table": {
              "table_name": "cscart_banner_descriptions",
              "access_type": "eq_ref",
              "possible_keys": ["PRIMARY"],
              "key": "PRIMARY",
              "key_length": "9",
              "used_key_parts": ["banner_id", "lang_code"],
              "ref": ["n764025_kutubminar123.cscart_banners.banner_id", "const"],
              "rows": 1,
              "filtered": 100,
              "attached_condition": "trigcond(cscart_banner_descriptions.lang_code = 'en' and trigcond(cscart_banners.banner_id is not null))"
            }
          }
        ]
      }
    }
  }
}

Result

page_id company_id parent_id id_path status page_type position timestamp usergroup_ids localization new_window use_avail_period avail_from_timestamp avail_till_timestamp facebook_obj_type lang_code page description meta_keywords meta_description page_title link abt__yt_youtube_id abt__yt_product_list
47 1 7 7/47 A B 0 1782505753 0 0 N 0 0 activity en AB: New arrivals of Nintendo Wii games! <div><h2>What is Nintendo Wii?</h2><p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. </p><h3>Why we are the best sellers of games?</h3><p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). </p></div> TVmW_qM1mmg 82,83,84,85,87
41 1 7 7/41 A B 0 1782505753 0 0 N 0 0 activity en AB: For those who love sound quality we have awesome Pioneer speakers! <div><h2>Looking best sound?</h2><p>The Pioneer A-Series offers the best car speakers in our review because they combine the best overall audio quality with exceptional power handling and loudness. These speakers are your best option when upgrading your car audio system. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. </p><h3> Why do we use it?</h3><p> It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). </p><h4> Where does it come from?</h4><p> Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</p></div>
42 1 7 7/42 A B 0 1782505753 0 0 N 0 0 activity en AB: Afraid of zombies? Preparing for apocalypse? <div> <h2>What is apocalypse?</h2> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. </p> <h3>Why do we use it?</h3> <p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). </p> <h4>Where does it come from?</h4> <p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32. </p> </div>
43 1 7 7/43 A B 0 1782505753 0 0 N 0 0 activity en AB: True American classic! Drifter cruisers. <div><h2>What is the best ever drifter?</h2><p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p><h3>Why do we use it?</h3><p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p><h4>Where does it come from?</h4><p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.</p><p>The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</p></div>
44 1 7 7/44 A B 0 1782505753 0 0 N 0 0 activity en AB: We got the best tracks of legendary B.B.King. <div><h2>Who is the best bluzman in the world?<br></h2><p>Legendary blues singer and guitarist BB King has died. The 'King of the Blues' was 89 when he passed away on May 14 in Las Vegas. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p><h3>Why do we love his songs?</h3><p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p><h4>Where does it come from?</h4><p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.</p></div>
45 1 7 7/45 A B 0 1782505753 0 0 N 0 0 activity en AB: Looking for a keypad Nokia phone and can't find one? We still have them! <div><h2>What is the best phone with buttons? </h2><p> The classic Nokia key phones are reliable phones. We have all kinds of models of Nokia button phones with a variety of colors. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. </p><h3> Why do we use it? </h3><p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). Where does it come from? Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32. </p></div>
46 1 7 7/46 A B 0 1782505753 0 0 N 0 0 activity en AB: Only in our store! Famous American WeatherMaster tents! <div><h2>What is the most famous American WeatherMaster tent? </h2><p>In this article we will say about tent all, and only true, because lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. </p><h3>Why do we use it? </h3><p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). </p><h4>Where does it come from? </h4><p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32. </p></div>
8 1 7 7/8 A B 0 1415316000 0 0 N 0 0 en Check out CS-Cart Marketplace <p>CS-Cart is feature-packed out of the box. But if you’re looking for something more for your project, we have CS-Cart Marketplace — the official store with add-ons and themes for CS-Cart.</p><div style="text-align: center; margin: 15px auto;"><a class="button ty-btn ty-btn__primary" href="https://marketplace.cs-cart.com/" title="GO TO MARKETPLACE" target="_blank">GO TO MARKETPLACE</a></div><p>Make your CS-Cart store more powerful, beautiful, functional, and user-friendly.</p><!--CUT--><p>CS-Cart Marketplace can help you:<ul><li>extend the functionality of your site;</li><li>create a unique look and feel for it;</li><li>get extra tools for promoting the site, and more;</li><li>save your time for what’s really important.</li></ul></p><p>Filter add-ons by their developer and field of use; choose them by rating, reviews, and compatibility with your CS-Cart version. If you have questions on some add-on or theme, contact its developer right from the product page.</p>