QUERY PLAN
Seq Scan on tbl_visible_documents (cost=0.00..585.05 rows=20 width=16)
Filter: ((accessible_user = 1001) AND (document_id = ANY ('{721,720,719,718,717,716,715,714,712,711,710,709,708,707,706,705,704,703,702,701}'::integer[])))