QUERY PLAN
Sort (cost=12.48..12.50 rows=5 width=16)
Sort Key: id
-> Seq Scan on tbl_ledger_account_captions (cost=0.00..12.43 rows=5 width=16)
Filter: ((ledger_id = 1) AND ((id = ANY ('{68,83,88,92,3}'::integer[])) OR (parent_id = ANY ('{68,83,88,92,3}'::integer[]))))