Something is wrong in your syntax obok '2 AND (v_products.endTime > '2024-19-04 23:59:26' OR v_products.endTime = '00...' w linii 3