select userID,randStr from sepet where durum = 0 AND tarih < '2018-09-26 11:38:19' group by randStr