QUERY PLAN
Sort (cost=2.41..2.47 rows=23 width=102)
Sort Key: is_current DESC, sort, id
-> Seq Scan on tbl_erp_account_captions (cost=0.00..1.89 rows=23 width=102)
Filter: ((parent_id IS NULL) AND (NOT is_delete) AND (type = 1))