QUERY PLAN
Hash Left Join (cost=1.04..2.53 rows=6 width=150)
Hash Cond: (egr.engineer_group_id = eg.id)
-> Seq Scan on tbl_engineer_group_relationships egr (cost=0.00..1.47 rows=6 width=8)
Filter: (engineer_id = ANY ('{5085,5248,1015,1022,5064,1023}'::integer[]))
-> Hash (cost=1.02..1.02 rows=2 width=150)
-> Seq Scan on tbl_engineer_groups eg (cost=0.00..1.02 rows=2 width=150)