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 = 50 
  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.00099

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
50 0 45 45/50 A T 0 1592863200 0 0 N 0 0 activity en MarcoCrm <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); } .button-action:hover { border-bottom: 4px solid rgb(221,121,4); transform: translateY(-5px); transition: 0.2s ease; box-shadow: 2px -2px 2px 0 rgba(24,24,24,.15) inset; } </style> <div class="row-fluid " style=" width: 100%;padding: 35px 5px; background-image: url(https://webmarco.com/images/MARCOCRM.jpg?1593174893182); background: -moz-linear-gradient(top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.6) 100%),url(https://webmarco.com/images/MARCOCRM.jpg?1593174893182); /* FF3.6-15 */ background: -webkit-linear-gradient(top, rgba(0,0,0,0.6) 0%,rgba(0,0,0,0.6) 100%), url(https://webmarco.com/images/MARCOCRM.jpg?1593174893182); /* Chrome10-25,Safari5.1-6 */ background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%,rgba(0,0,0,0.6) 100%), url(https://webmarco.com/images/MARCOCRM.jpg?1593174893182); /* 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;">EFFICIENT CLIENT MANAGEMENT </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)">Marco</span>CRM</h2><br> <p style="color: #fff; font-size: 16px; font-family: Bebas Neue; font-weight: 400; ">WebMarco’s goal is to understand your brand and represent it online via a well-designed website. Besides the aesthetic design, we maintain your website and make sure to be coherent with the market. <br> </p> <p><br></p> <button onclick="location.href='https://client.webmarco.com/'" class="button-action button-wrap-left" style="text-decoration: none; padding: 10px 20px; background-color: rgb(255,138,0); color: #fff; text-transform: uppercase; font-size: 16px; font-weight: 700; border: none; border-bottom: 1px solid rgb(221,121,4); border-radius: 5px; vertical-align:middle; transition: 0.2s ease;"> SUBSCRIBE</button> <br> <p><br></p> </div> </div> <p><br></p> <div class="row"> <p><br></p> <p><br></p> <div class="span1"> </div> <div class="span4"> <p><span style="font-size: 1.725rem; font-family: Sarabun, Arial, Helvetica , sans-serif; font-weight: 700; line-height: 1.25em;"><span style="color: #ff8a00; ;"> Marco</span></span><span style="color: #191919; font-size: 1.725rem; font-family: Sarabun, Arial, Helvetica , sans-serif; font-weight: 700; line-height: 1.25em;">Crm</span></p> <p style="color: #191919; font-size: 1rem; font-family: Roboto, Arial, Helvetica , sans-serif; font-weight: 400; line-height: 1.25em; text-align: justify;">Running a business, small or big, is a difficult task! You have to manage your staff, potential and current customers. Establishing relationships require hard work, but maintaining this client relationship is even more complex. You have to keep track of his details, analyze his attitude, and keep constant communication even when he is not an active buyer. To keep all this information in a piece of book or notebook is almost impossible. You might achieve it for a client, but what about the rest?</p> </div> <div class="span1"> </div> <div class="span4"> <p style="font-size: 1.725rem; font-family: Sarabun, Arial, Helvetica , sans-serif; font-weight: 700; line-height: 1.25em;"><span style="color: #191919; font-size: 24px; font-weight: 700;"><span style="color: #ff8a00;"> Let MarcoCrm </span></span></p> <p style="font-size: 1.725rem; font-family: Sarabun, Arial, Helvetica , sans-serif; font-weight: 700; line-height: 1.25em;"><span style="color: #191919; font-size: 24px; font-weight: 700;">Help Your Business </span></p> <p style="color: #191919; font-size: 1rem; font-family: Roboto, Arial, Helvetica , sans-serif; font-weight: 400; line-height: 1.25em; text-align: justify;">We have spotted the same problem in different businesses. That’s why we created Marco CRM, a system that can carry a lot of that workload for business and sales processes. MarcoCRM will help you manage your customer more easily, providing support and maintaining relationships via our reliable system. It also integrates organizational processes across marketing, sales, and customer service with functionalities and features. Some of these are: <br> <br> </p><ul style="text-align: left; "> <li style="list-style-image: url(https://webmarco.com/images/photo/check-yellow-16px.png?1593518699357); list-style-position: outside; color: #191919; font-size: 1rem; font-family: Roboto, Arial, Helvetica , sans-serif; font-weight: 400; line-height: 1.5em;">Collecting customer information</li> <li style="list-style-image: url(https://webmarco.com/images/photo/check-yellow-16px.png?1593518699357); list-style-position: outside; color: #191919; font-size: 1rem; font-family: Roboto, Arial, Helvetica , sans-serif; font-weight: 400; line-height: 1.5em;">Unified view of customers</li> <li style="list-style-image: url(https://webmarco.com/images/photo/check-yellow-16px.png?1593518699357); list-style-position: outside; color: #191919; font-size: 1rem; font-family: Roboto, Arial, Helvetica , sans-serif; font-weight: 400; line-height: 1.5em;">Tracking of the elevation</li> <li style="list-style-image: url(https://webmarco.com/images/photo/check-yellow-16px.png?1593518699357); list-style-position: outside; color: #191919; font-size: 1rem; font-family: Roboto, Arial, Helvetica , sans-serif; font-weight: 400; line-height: 1.5em;">Customer tracking</li> <li style="list-style-image: url(https://webmarco.com/images/photo/check-yellow-16px.png?1593518699357); list-style-position: outside; color: #191919; font-size: 1rem; font-family: Roboto, Arial, Helvetica , sans-serif; font-weight: 400; line-height: 1.5em;">Service tracking</li> <li style="list-style-image: url(https://webmarco.com/images/photo/check-yellow-16px.png?1593518699357); list-style-position: outside; color: #191919; font-size: 1rem; font-family: Roboto, Arial, Helvetica , sans-serif; font-weight: 400; line-height: 1.5em;">Data analysis</li> <li style="list-style-image: url(https://webmarco.com/images/photo/check-yellow-16px.png?1593518699357); list-style-position: outside; color: #191919; font-size: 1rem; font-family: Roboto, Arial, Helvetica , sans-serif; font-weight: 400; line-height: 1.5em;">Reports and Analytics</li> <li style="list-style-image: url(https://webmarco.com/images/photo/check-yellow-16px.png?1593518699357); list-style-position: outside; color: #191919; font-size: 1rem; font-family: Roboto, Arial, Helvetica , sans-serif; font-weight: 400; line-height: 1.5em;">Cost-effectiveness analysis</li> </ul> <p></p> </div> <div class="span1"> </div> <div class="span4"> <p style="font-size: 1.725rem; font-family: Sarabun, Arial, Helvetica , sans-serif; font-weight: 700; line-height: 1.25em;"><span style="color: rgb(34, 34, 34); font-size: 24px; font-weight: 700;"><span style="color: #ff8a00;"> Manage Your Business </span></span></p> <p style="font-size: 1.725rem; font-family: Sarabun, Arial, Helvetica , sans-serif; font-weight: 700; line-height: 1.25em;"><span style="color: #191919; font-size: 24px; font-weight: 700;">With Just A Touch</span></p> <p style="color: #191919; font-size: 1rem; font-family: Roboto, Arial, Helvetica , sans-serif; font-weight: 400; line-height: 1.25em; text-align: justify;">Users can better organize and manage relationships, automates common processes, and provides tools to monitor performance and productivity. The goal is simple: Improve business relationships. Our CRM system will help your company stay connected to customers, streamline processes, and improve profitability with just a touch.</p> </div> <div class="span1"> </div> </div> marcocrm-en 45