QUERY PLAN
Hash Join (cost=1.16..2.43 rows=2 width=200)
Hash Cond: (esgps.erp_sales_gift_id = esgs.id)
-> Seq Scan on tbl_erp_sales_gift_products esgps (cost=0.00..1.20 rows=20 width=200)
-> Hash (cost=1.15..1.15 rows=1 width=4)
-> Seq Scan on tbl_erp_sales_gifts esgs (cost=0.00..1.15 rows=1 width=4)
Filter: (project_id = 3796)