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