QUERY PLAN
Seq Scan on tbl_visible_documents (cost=0.00..241.68 rows=24 width=16)
Filter: ((accessible_user IS NOT NULL) AND (document_id = 573))