QUERY PLAN
Seq Scan on tbl_visible_documents (cost=0.00..383.86 rows=5 width=16)
Filter: ((accessible_user = 1001) AND (document_id = ANY ('{45,44,43,42,41}'::integer[])))