SELECT 
  cscart_pages.*, 
  cscart_page_descriptions.page, 
  cscart_seo_names.name as seo_name, 
  cscart_seo_names.path as seo_path 
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_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 
  1 
  AND cscart_pages.status IN ('A') 
  AND cscart_pages.page_type IN ('T', 'B', '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 <= 1737176828 
      AND (
        cscart_pages.avail_till_timestamp >= 1737176828 
        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.00084

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "9.54"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_pages",
            "access_type": "ALL",
            "rows_examined_per_scan": 21,
            "rows_produced_per_join": 1,
            "filtered": "4.76",
            "cost_info": {
              "read_cost": "6.15",
              "eval_cost": "0.20",
              "prefix_cost": "6.35",
              "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"
            ],
            "attached_condition": "((`satishecarter_dec_setup_001`.`cscart_pages`.`status` = 'A') and (`satishecarter_dec_setup_001`.`cscart_pages`.`page_type` in ('T','B','F')) and ((`satishecarter_dec_setup_001`.`cscart_pages`.`usergroup_ids` = '') or find_in_set(0,`satishecarter_dec_setup_001`.`cscart_pages`.`usergroup_ids`) or find_in_set(1,`satishecarter_dec_setup_001`.`cscart_pages`.`usergroup_ids`)) and ((`satishecarter_dec_setup_001`.`cscart_pages`.`use_avail_period` = 'N') or ((`satishecarter_dec_setup_001`.`cscart_pages`.`use_avail_period` = 'Y') and (`satishecarter_dec_setup_001`.`cscart_pages`.`avail_from_timestamp` <= 1737176828) and ((`satishecarter_dec_setup_001`.`cscart_pages`.`avail_till_timestamp` >= 1737176828) or (`satishecarter_dec_setup_001`.`cscart_pages`.`avail_till_timestamp` = 0)))))"
          }
        },
        {
          "table": {
            "table_name": "cscart_page_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "page_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "satishecarter_dec_setup_001.cscart_pages.page_id",
              "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": "7.55",
              "data_read_per_join": "3K"
            },
            "used_columns": [
              "page_id",
              "lang_code",
              "page"
            ]
          }
        },
        {
          "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": [
              "satishecarter_dec_setup_001.cscart_pages.page_id",
              "const",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 1,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "1.79",
              "eval_cost": "0.20",
              "prefix_cost": "9.54",
              "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 page seo_name seo_path
2 0 0 2 A T 0 1208808000 0 0 N 0 0 About our company about-our-company
25 1 0 25 A T 0 1485205200 0 0 N 0 0 Acme Corporation: Join our loyalty program to get special prices acme-corporation-join-our-loyalty-program-to-get-special-prices
27 0 0 27 A T 0 1485205200 0 0 N 0 0 Become our vendor with no transaction fee become-our-vendor-with-no-transaction-fee
7 0 0 7 A B 0 1415336000 0 0 N 0 0 Blog blog
30 0 0 30 A F 0 1208808000 0 0 N 0 0 Contact us contact-us
20 0 0 20 A T 0 1208808000 0 0 N 0 0 Contacts contacts
4 0 0 4 A T 0 1208808000 0 0 N 0 0 Free Returns free-returns
5 0 0 5 A T 0 1208808000 0 0 N 0 0 Free Shipping free-shipping
6 0 0 6 A T 0 1208808000 0 0 N 0 0 Low Price Guarantee low-price-guarantee
1 0 0 1 A T 0 1208808000 0 0 N 0 0 Our team our-team
22 0 0 22 A T 0 1208808000 0 0 N 0 0 Payment and shipping payment-and-shipping
3 0 0 3 A T 0 1208808000 0 0 N 0 0 Privacy policy privacy-policy
21 0 0 21 A T 0 1208808000 0 0 N 0 0 Returns and Exchanges returns-and-exchanges
23 0 0 23 A T 0 1208808000 0 0 N 0 0 Reward points reward-points
15 0 0 15 A T 0 1453323600 0 0 N 0 0 Vendor Terms & Conditions vendor-terms-and-conditions
24 0 0 24 A T 0 1485118800 0 0 N 0 0 Welcome to Multi-Vendor demo marketplace! welcome-to-multi-vendor-demo-marketplace
19 0 0 19 A T 0 1208808000 0 0 N 0 0 Why Buy Gift Certificates why-buy-gift-certificates
8 0 7 7/8 A B 0 1415316000 0 0 N 0 0 Check out CS-Cart Marketplace check-out-cs-cart-marketplace 7
10 0 7 7/10 A B 0 1415736000 0 0 N 0 0 How to Distribute Money between Vendors how-to-distribute-money-between-vendors 7
9 0 7 7/9 A B 0 1415526000 0 0 N 0 0 Why You Need a Subscription Model for Your Vendors why-you-need-a-subscription-model-for-your-vendors 7