select userID,randStr from sepet where durum = 0 AND tarih < '2019-04-24 05:13:48' group by randStr