QUERY PLAN
Sort (cost=1.53..1.55 rows=9 width=286)
Sort Key: id DESC
-> Seq Scan on tbl_document_types (cost=0.00..1.38 rows=9 width=286)
Filter: (department_id = ANY ('{4,1,2,3,9,8,6,7,10}'::integer[]))