Your query is filtering all the rows just on the product. You need to move that comparison to a having
clause:
SELECT i.id_order, i.time, i.username, i.price, GROUP_CONCAT(o.product) as PRO
FROM id_of_orders i INNER JOIN
orders o
ON i.id_order = o.order_id
GROUP BY i.id_order
HAVING max(o.product = '$_SESSION[proions]'") > 0;
This will return all products for an order where at least one of the rows matches the product you want.