SELECT 
  cscart_pages.*, 
  cscart_page_descriptions.*, 
  cscart_seo_names.name as seo_name, 
  cscart_seo_names.path as seo_path 
FROM 
  cscart_pages 
  INNER JOIN cscart_page_descriptions ON cscart_pages.page_id = cscart_page_descriptions.page_id 
  LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = cscart_pages.page_id 
  AND cscart_seo_names.type = 'a' 
  AND cscart_seo_names.dispatch = '' 
  AND cscart_seo_names.lang_code = 'en' 
WHERE 
  cscart_pages.page_id = 48 
  AND cscart_page_descriptions.lang_code = 'en' 
  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.page_type IN ('T', 'L', 'B', 'F', 'V')

Query time 0.00097

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "1.20"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_pages",
          "access_type": "const",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "page_id"
          ],
          "key_length": "3",
          "ref": [
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 1,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "0.00",
            "eval_cost": "0.20",
            "prefix_cost": "0.00",
            "data_read_per_join": "2K"
          },
          "used_columns": [
            "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",
            "abt__ut2_microdata_schema_type"
          ]
        }
      },
      {
        "table": {
          "table_name": "cscart_page_descriptions",
          "access_type": "const",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "page_id",
            "lang_code"
          ],
          "key_length": "9",
          "ref": [
            "const",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 1,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "0.00",
            "eval_cost": "0.20",
            "prefix_cost": "0.00",
            "data_read_per_join": "5K"
          },
          "used_columns": [
            "page_id",
            "lang_code",
            "page",
            "description",
            "meta_keywords",
            "meta_description",
            "page_title",
            "link",
            "ab__custom_page_h1",
            "page_sitemap"
          ]
        }
      },
      {
        "table": {
          "table_name": "cscart_seo_names",
          "access_type": "ref",
          "possible_keys": [
            "PRIMARY",
            "dispatch"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "object_id",
            "type",
            "dispatch",
            "lang_code"
          ],
          "key_length": "206",
          "ref": [
            "const",
            "const",
            "const",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 1,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "1.00",
            "eval_cost": "0.20",
            "prefix_cost": "1.20",
            "data_read_per_join": "1K"
          },
          "used_columns": [
            "name",
            "object_id",
            "type",
            "dispatch",
            "path",
            "lang_code"
          ]
        }
      }
    ]
  }
}

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 abt__ut2_microdata_schema_type lang_code page description meta_keywords meta_description page_title link ab__custom_page_h1 page_sitemap seo_name seo_path
48 0 45 45/48 A T 0 1592863200 0 0 N 0 0 activity en Social Media Marketing <style> h1{ font-size: 0; width: 1px; height: 1px; display: inline-block; overflow: hidden; position: absolute!important; border: 0!important; padding: 0!important; margin: 0!important; clip: rect(1px,1px,1px,1px); } </style> <div class="row-fluid " style=" width: 100%;padding: 35px 5px; background-image: url(https://webmarco.com/images/social-media-marketing.jpg?1593168837413); /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0.4+0,0.4+100 */ background: -moz-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.5) 100%),url(https://webmarco.com/images/social-media-marketing.jpg?1593168837413); /* FF3.6-15 */ background: -webkit-linear-gradient(top, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0.5) 100%), url(https://webmarco.com/images/social-media-marketing.jpg?1593168837413); /* Chrome10-25,Safari5.1-6 */ background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0.5) 100%), url(https://webmarco.com/images/social-media-marketing.jpg?1593168837413); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#66000000', endColorstr='#66000000',GradientType=0 ); /* IE6-9 */ background-position: center; background-repeat: no-repeat; background-size: cover;"> <br> <div class="span2"></div> <div class="span6"> <h3 style="color: #fff;font-size: 18px; font-family: Bebas Neue; font-weight: 200; line-height: 18px; margin-bottom: -18px;">REACH YOUR TARGET MARKET </h3> <h2 style="color: #fff; font-size: 55px; font-family: Bebas Neue; font-weight: 700; line-height: 65px;"><span style="color: rgb(227, 108, 9)">Social Media</span><br>Marketing</h2><br> <p style="color: #fff; font-size: 16px; font-family: Bebas Neue; font-weight: 400; ">WebMarco understands that social media is not just an activity. For us, it is an investment of valuable time and resources. We aim to grow your online presence and make it as personalized as possible. <br> </p> <br> </div> <br> </div> <div class="row-fluid" style="background-image: url(https://webmarco.com/images/digital%20marketing/services/bgn-services.jpg?1593424099089); background-position: center; background-repeat: no-repeat; background-size: cover; padding: 50px 0;"> <p><br></p> <p><br></p> <div class="container"> <div class="span2"></div> <div class="span12" style="margin-left: auto; margin-right: auto; text-align: center;"> <h3 class="above-heading" style="color: #191919; font-size: 1.125rem; font-family: Roboto Condensed, Arial, Helvetica , sans-serif; font-weight: 400; line-height: 18px; margin-bottom: -18px; text-align: center;"> YOU'RE IN GOOD COMPANY </h3> <h2 style="text-align: center; font-size: 3.25rem; font-family: Sarabun, Arial, Helvetica , sans-serif; font-weight: 700; line-height: 1.25em; text-shadow: 0 2px 5px rgba(0, 0, 0, .5); "><span style="color: #f8f8f8; "> Social&nbsp;Media&nbsp; </span><span style="color: #191919; "> Marketing</span></h2> <p style="font-size: 1.125rem; font-family: Roboto, Arial, Helvetica , sans-serif; font-weight: 400; line-height: 1.5em; text-align: center;"> Studies have shown that 42% of the population use Social Media, and not including it in your digital marketing strategy would be a huge mistake. Do you want to grow your brand awareness? Do you want to increase your sales? Social Media is the best tool you can use! It is the first place where people create content, share news, and so much more. Thanks to the importance that it has today for a business, all brands are trying to get the attention of customers and become the best! </p> <p style="font-size: 1.125rem; font-family: Roboto, Arial, Helvetica , sans-serif; font-weight: 400; line-height: 1.5em; text-align: center;"><strong> Our team of Social Media experts will examine your brand to understand how to best engage with your target audience through creative content by managing them most professionally.</strong></p> <br><br><br><br><br> </div><div class="span2"></div> <div class="span2"></div> </div> <div class="container"> <div class="span2"></div> <div class="span12" style="margin-left: auto; margin-right: auto; text-align: center;"> <h3 class="above-heading" style="color: #191919; font-size: 1.125rem; font-family: Roboto Condensed, Arial, Helvetica , sans-serif; font-weight: 400; line-height: 18px; margin-bottom: -18px; text-align: center;"> YOU'RE ARE OUR PRIORITY </h3> <h2 style="text-align: center; font-size: 3.25rem; font-family: Sarabun, Arial, Helvetica , sans-serif; font-weight: 700; line-height: 1.25em; text-shadow: 0 2px 5px rgba(0, 0, 0, .5); "><span style="color: #f8f8f8; "> Online&nbsp;Reputation&nbsp; </span><span style="color: #191919; "> Management</span></h2> <p style="font-size: 1.125rem; font-family: Roboto, Arial, Helvetica , sans-serif; font-weight: 400; line-height: 1.5em; text-align: center;"> Online Reputation Management should not be underestimated! To be well represented in the online world and to have potential customers that left your site with a great impression of who you are and what you do, is our goal! Some potential customers do some online research before purchasing a product online and consider reviews as a personal recommendation; this can increase or decrease your sales. </p> <p style="font-size: 1.125rem; font-family: Roboto, Arial, Helvetica , sans-serif; font-weight: 400; line-height: 1.5em; text-align: center;"><strong> Our team monitors your online reputation and uses the best strategies to prevent problems that could damage your brand!</strong></p> <br><br><br><br><br> </div><div class="span2"></div> <div class="span2"></div> <br><br><br><br><br> </div> </div> social-media-marketing-en 45