QUERY PLAN
Seq Scan on tbl_visible_documents (cost=0.00..483.15 rows=9 width=16)
Filter: ((accessible_user = 1000) AND (document_id = ANY ('{199,349,350,351,352,353,354,355,356,542}'::integer[])))