SELECT 
  cscart_pages.*, 
  cscart_page_descriptions.page 
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' 
  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.status IN ('A') 
  AND cscart_pages.page_type IN ('T', 'L', 'F') 
  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 <= 1736245149 
      AND (
        cscart_pages.avail_till_timestamp >= 1736245149 
        OR cscart_pages.avail_till_timestamp = 0
      )
    )
  ) 
ORDER BY 
  cscart_pages.position asc, 
  cscart_pages.parent_id asc, 
  cscart_page_descriptions.page asc

Query time 0.00116

JSON explain

{
  "query_block": {
    "select_id": 1,
    "filesort": {
      "temporary_table": {
        "function": "buffer",
        "table": {
          "table_name": "cscart_pages",
          "access_type": "ALL",
          "possible_keys": ["PRIMARY"],
          "rows": 13,
          "filtered": 100,
          "attached_condition": "((cscart_pages.`status` = 'A') and (cscart_pages.page_type in ('T','L','F')) 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 <= 1736245149) and ((cscart_pages.avail_till_timestamp >= 1736245149) 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": ["egkcysbp_cscartn.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": ["egkcysbp_cscartn.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
        }
      }
    }
  }
}

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 page
4 1 0 4 A T 0 1208788200 0 0 N 0 0 activity 24/7 Towing Mid North
2 1 0 2 A T 0 1208788200 0 0 N 0 0 activity About our company
5 1 0 5 A T 0 1208788200 0 0 N 0 0 activity Cash For Cars
30 1 0 30 A F 0 1208788200 0 0 N 0 0 activity Contact Us
20 1 0 20 A T 0 1208788200 0 0 N 0 0 activity Contacts
6 1 0 6 A T 0 1208808000 0 0 N 0 0 Low Price Guarantee
1 1 0 1 A T 0 1208808000 0 0 N 0 0 Our team
22 1 0 22 A T 0 1208808000 0 0 N 0 0 Payment and shipping
3 1 0 3 A T 0 1208808000 0 0 N 0 0 Privacy policy
21 1 0 21 A T 0 1208808000 0 0 N 0 0 Returns and Exchanges
23 1 0 23 A T 0 1208808000 0 0 N 0 0 Reward points
19 1 0 19 A T 0 1208808000 0 0 N 0 0 Why Buy Gift Certificates