QUERY PLAN
Hash Join (cost=12.51..26.95 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..13.50 rows=350 width=200)
-> Hash (cost=12.50..12.50 rows=1 width=4)
-> Seq Scan on tbl_erp_sales_gifts esgs (cost=0.00..12.50 rows=1 width=4)
Filter: (project_id = 3927)