QUERY PLAN
Sort (cost=41.54..41.55 rows=4 width=21)
Sort Key: tbl_project_architects.contribution DESC, tbl_project_architects.engineer_id
-> Hash Right Join (cost=32.99..41.50 rows=4 width=21)
Hash Cond: (u.id = tbl_project_architects.engineer_id)
-> Seq Scan on tbl_users u (cost=0.00..7.41 rows=141 width=13)
-> Hash (cost=32.94..32.94 rows=4 width=12)
-> Seq Scan on tbl_project_architects (cost=0.00..32.94 rows=4 width=12)
Filter: (project_id = ANY ('{3957,3780,3846,3910}'::integer[]))