SELECT 
  warehouse.* 
FROM 
  cscart_erp_warehouse warehouse 
WHERE 
  1 = 1 
  AND warehouse.company_id = 1 
  AND warehouse.company_id = 1 
ORDER BY 
  warehouse.timestamp asc, 
  warehouse.warehouse_id asc 
LIMIT 
  0, 10

Query time 0.00049

JSON explain

{
  "query_block": {
    "select_id": 1,
    "read_sorted_file": {
      "filesort": {
        "sort_key": "warehouse.`timestamp`, warehouse.warehouse_id",
        "table": {
          "table_name": "warehouse",
          "access_type": "ALL",
          "rows": 9,
          "filtered": 100,
          "attached_condition": "warehouse.company_id = 1"
        }
      }
    }
  }
}

Result

warehouse_id warehouse company_id user_id status timestamp is_main phone address state country s_phuong_xa s_quan_huyen warehouse_type
1 Cơ sở chính 1 1 A 1733245029 Y Boston street MA US W
2 Kho Dương Thị Giang 1 1 A 1733245234 N 0900000001 62 Dương Thị Giang HCM VN 21207 0212 W
3 Tân Thới Nhất 1 1 A 1733246281 N 0900000002 90 Tân Thới Nhất 8 HCM VN 21207 0212 S