Since the table is not normalized, i think the query won't be neat. But if you have to do it the hard way then i think this might work
select product1,quantity1 from
table name where product1 = 'product name you want to search'
union
select product2,quantity2 from
table name where product2 = 'product name you want to search'
Make the above 15 times for every column in the table. But overtime as more products are added this query will become slow. So the best course is to normalize this table. That will surely save you tons of hours in future.