QUERY PLAN
Sort (cost=2.49..2.56 rows=25 width=74)
Sort Key: is_current DESC, sort, id
-> Seq Scan on tbl_erp_account_captions (cost=0.00..1.91 rows=25 width=74)
Filter: ((parent_id IS NULL) AND (NOT is_delete) AND (type = 1))