SELECT 
  csscart_pages.*, 
  csscart_page_descriptions.page, 
  csscart_seo_names.name as seo_name, 
  csscart_seo_names.path as seo_path 
FROM 
  csscart_pages 
  LEFT JOIN csscart_page_descriptions ON csscart_pages.page_id = csscart_page_descriptions.page_id 
  AND csscart_page_descriptions.lang_code = 'en' 
  LEFT JOIN csscart_seo_names ON csscart_seo_names.object_id = csscart_pages.page_id 
  AND csscart_seo_names.type = 'a' 
  AND csscart_seo_names.dispatch = '' 
  AND csscart_seo_names.lang_code = 'en' 
WHERE 
  1 
  AND csscart_pages.id_path LIKE '7/%' 
  AND csscart_pages.status IN ('A') 
  AND csscart_pages.page_type IN ('B') 
  AND (
    csscart_pages.usergroup_ids = '' 
    OR FIND_IN_SET(0, csscart_pages.usergroup_ids) 
    OR FIND_IN_SET(1, csscart_pages.usergroup_ids)
  ) 
  AND (
    csscart_pages.use_avail_period = 'N' 
    OR (
      csscart_pages.use_avail_period = 'Y' 
      AND csscart_pages.avail_from_timestamp <= 1730140149 
      AND (
        csscart_pages.avail_till_timestamp >= 1730140149 
        OR csscart_pages.avail_till_timestamp = 0
      )
    )
  ) 
ORDER BY 
  csscart_pages.timestamp desc 
LIMIT 
  0, 5

Query time 0.00061

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "5.79"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "0.14"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "csscart_pages",
            "access_type": "range",
            "possible_keys": [
              "id_path"
            ],
            "key": "id_path",
            "used_key_parts": [
              "id_path"
            ],
            "key_length": "767",
            "rows_examined_per_scan": 3,
            "rows_produced_per_join": 0,
            "filtered": "4.76",
            "index_condition": "(`demoecarter_pos`.`csscart_pages`.`id_path` like '7/%')",
            "cost_info": {
              "read_cost": "5.18",
              "eval_cost": "0.03",
              "prefix_cost": "5.21",
              "data_read_per_join": "362"
            },
            "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": "((`demoecarter_pos`.`csscart_pages`.`status` = 'A') and (`demoecarter_pos`.`csscart_pages`.`page_type` = 'B') and ((`demoecarter_pos`.`csscart_pages`.`usergroup_ids` = '') or find_in_set(0,`demoecarter_pos`.`csscart_pages`.`usergroup_ids`) or find_in_set(1,`demoecarter_pos`.`csscart_pages`.`usergroup_ids`)) and ((`demoecarter_pos`.`csscart_pages`.`use_avail_period` = 'N') or ((`demoecarter_pos`.`csscart_pages`.`use_avail_period` = 'Y') and (`demoecarter_pos`.`csscart_pages`.`avail_from_timestamp` <= 1730140149) and ((`demoecarter_pos`.`csscart_pages`.`avail_till_timestamp` >= 1730140149) or (`demoecarter_pos`.`csscart_pages`.`avail_till_timestamp` = 0)))))"
          }
        },
        {
          "table": {
            "table_name": "csscart_page_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "page_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "demoecarter_pos.csscart_pages.page_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.14",
              "eval_cost": "0.03",
              "prefix_cost": "5.38",
              "data_read_per_join": "552"
            },
            "used_columns": [
              "page_id",
              "lang_code",
              "page"
            ]
          }
        },
        {
          "table": {
            "table_name": "csscart_seo_names",
            "access_type": "ref",
            "possible_keys": [
              "PRIMARY",
              "dispatch"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "object_id",
              "type",
              "dispatch",
              "lang_code"
            ],
            "key_length": "206",
            "ref": [
              "demoecarter_pos.csscart_pages.page_id",
              "const",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.24",
              "eval_cost": "0.03",
              "prefix_cost": "5.65",
              "data_read_per_join": "248"
            },
            "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
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
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