SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd7a31c351fea2bffd2138541d7d2172200f9317e3586a27ec432e80429d7fae0' 
  AND token = 'y/pIdAof6BCI5JZ2+AC3Iccqpyycuqt/vtCqhDa6Jik=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE Impossible WHERE noticed after reading const tables