QUERY PLAN
Sort (cost=51.07..51.08 rows=4 width=21)
Sort Key: tbl_project_architects.contribution DESC, tbl_project_architects.engineer_id
-> Hash Right Join (cost=33.47..51.03 rows=4 width=21)
Hash Cond: (u.id = tbl_project_architects.engineer_id)
-> Seq Scan on tbl_users u (cost=0.00..16.44 rows=144 width=13)
-> Hash (cost=33.42..33.42 rows=4 width=12)
-> Seq Scan on tbl_project_architects (cost=0.00..33.42 rows=4 width=12)
Filter: (project_id = ANY ('{4172,4169,4168,4157}'::integer[]))