QUERY PLAN
Seq Scan on tbl_visible_documents (cost=0.00..252.98 rows=22 width=16)
Filter: ((accessible_user IS NOT NULL) AND (document_id = 743))