QUERY PLAN
Seq Scan on tbl_visible_documents (cost=0.00..410.35 rows=9 width=16)
Filter: ((accessible_user = 1000) AND (document_id = ANY ('{214,213,212,211,210,209,208,207,206,205}'::integer[])))