SELECT 
  cscart_pages.*, 
  cscart_page_descriptions.page, 
  cscart_seo_names.name as seo_name, 
  cscart_seo_names.path as seo_path, 
  cscart_page_descriptions.page_sitemap 
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', 'P') 
  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 <= 1729038506 
      AND (
        cscart_pages.avail_till_timestamp >= 1729038506 
        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.00245

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "260.67"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_pages",
            "access_type": "ALL",
            "rows_examined_per_scan": 41,
            "rows_produced_per_join": 0,
            "filtered": "2.44",
            "cost_info": {
              "read_cost": "4.60",
              "eval_cost": "0.10",
              "prefix_cost": "4.70",
              "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",
              "staff_notes",
              "abt__ut2_microdata_schema_type"
            ],
            "attached_condition": "((`s2cart`.`cscart_pages`.`status` = 'A') and (`s2cart`.`cscart_pages`.`page_type` in ('T','B','F','P')) and ((`s2cart`.`cscart_pages`.`usergroup_ids` = '') or (0 <> find_in_set(0,`s2cart`.`cscart_pages`.`usergroup_ids`)) or (0 <> find_in_set(1,`s2cart`.`cscart_pages`.`usergroup_ids`))) and ((`s2cart`.`cscart_pages`.`use_avail_period` = 'N') or ((`s2cart`.`cscart_pages`.`use_avail_period` = 'Y') and (`s2cart`.`cscart_pages`.`avail_from_timestamp` <= 1729038506) and ((`s2cart`.`cscart_pages`.`avail_till_timestamp` >= 1729038506) or (`s2cart`.`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": [
              "s2cart.cscart_pages.page_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.25",
              "eval_cost": "0.10",
              "prefix_cost": "5.05",
              "data_read_per_join": "6K"
            },
            "used_columns": [
              "page_id",
              "lang_code",
              "page",
              "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": [
              "s2cart.cscart_pages.page_id",
              "const",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 696,
            "rows_produced_per_join": 695,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "186.02",
              "eval_cost": "69.60",
              "prefix_cost": "260.67",
              "data_read_per_join": "1M"
            },
            "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 staff_notes abt__ut2_microdata_schema_type page seo_name seo_path page_sitemap
45 0 0 45 A T 0 1566507600 0 0 N 0 0 activity Stock2cart Stories stock2cart-stories
48 0 0 48 A T 0 1566507600 0 0 N 0 0 activity 100% Buyer protection 100-purchase-protection
64 0 0 64 A T 0 1568754000 0 0 N 0 0 activity About GEESYS! abc-en
24 0 0 24 A T 0 1485118800 0 0 N 0 0 activity About us welcome-to-stock2cart.com
68 0 0 68 A T 0 1721163600 0 0 N 0 0 activity aquawagon aquawagon
27 0 0 27 A T 0 1485205200 0 0 N 0 0 activity Become our vendor with no transaction fee become-our-vendor-with-no-transaction-fee
61 0 0 61 A T 0 1566507600 0 0 N 0 0 activity Cancellation Policy cancellation-and-return
44 0 0 44 A T 0 1566507600 0 0 N 0 0 activity Careers careers
58 0 0 58 A T 0 1566507600 0 0 N 0 0 activity Compliance erp-compliance
30 0 0 30 A F 0 1208808000 0 0 N 0 0 activity Contact us contact-us
51 0 0 51 A T 0 1566507600 0 0 N 0 0 activity FAQ's faq
4 0 0 4 A T 0 1208808000 0 0 N 0 0 activity Free Returns free-returns
5 0 0 5 A T 0 1208808000 0 0 N 0 0 activity Free Shipping free-shipping
50 0 0 50 A T 0 1566507600 0 0 N 0 0 activity Help help
69 0 0 69 A T 0 1721768400 0 0 N 0 0 activity Home - AquaWagon home-aquawagon
52 0 0 52 A T 0 1566507600 0 0 N 0 0 activity Infringenment ​Policy​ report-infringenment
59 0 0 59 A T 0 1566507600 0 0 N 0 0 activity Payment Policy payment
40 0 0 40 A P 0 1251115200 0 0 N 0 0 Poll of the week poll-of-the-week
43 0 0 43 A T 0 1566507600 0 0 N 0 0 activity Press Releases press-releases
3 0 0 3 A T 0 1208808000 0 0 N 0 0 activity Privacy policy privacy-policy
65 0 0 65 A T 0 1569531600 0 0 N 0 0 activity Product Information product-information
49 0 0 49 A T 0 1566507600 0 0 N 0 0 activity Protection protection
67 0 0 67 A F 0 1569963600 0 0 N 0 0 activity RAQ request-for-quotation
63 0 0 63 A T 0 1568754000 0 0 N 0 0 activity REFUND POLICY refund-policy
47 0 0 47 A T 0 1566507600 0 0 N 0 0 activity Return Center return-center
21 0 0 21 A T 0 1208808000 0 0 N 0 0 activity Return Policy returns-policy
23 0 0 23 A T 0 1208808000 0 0 N 0 0 Reward points reward-points
22 0 0 22 A T 0 1208808000 0 0 N 0 0 activity shipping payment-and-shipping
60 0 0 60 A T 0 1566507600 0 0 N 0 0 activity Shipping Policy shipping-policy
26 0 0 26 A T 0 1485205200 0 0 N 0 0 Stark Industries: buy two for the price of one! stark-industries-buy-two-for-the-price-of-one
33 0 0 33 A B 0 1485291600 0 0 N 0 0 activity Stock2cart.com Blog blog
41 0 0 41 A T 0 1554066000 0 0 N 0 0 activity Terms and Conditions terms-and-conditions
55 0 0 55 A T 0 1566507600 0 0 N 0 0 activity Terms of use terms-of-use
66 0 0 66 A T 0 1569790800 0 0 N 0 0 activity test test
62 0 0 62 A F 0 1568149200 0 0 N 0 0 activity Vendor Details vendor-contact
19 0 0 19 A T 0 1208808000 0 0 N 0 0 activity Why Buy Gift Certificates why-buy-gift-certificates
46 0 0 46 A T 0 1566507600 0 0 N 0 0 activity Your Account your-account