I'd say that first of all, your table structure is broken. The fact that the same product can appear multiple times means you've got denormalized data.
What you should have is a single table with all the products listed exactly once.
Then, a pricing table that can have references to those products multiple times. Then, getting the right answer is a single query.
People often think that denormalized tables are faster, and that is often true in some sense, since you don't have to maintain multiple tables and handle complex joins. However, the hoops you now have to jump through to get data that would just fall out with a single query requires more work.
If you need help redesigning your schema, let us know, I'd be more than happy to help you do that.