SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd1537c37c9b7dfebccba90685b703b3217b54b6d17e90212fd34379e9e509c1c' 
  AND token = 'yALPqOqw1HGf/4F0gXIgAF7GTNPs/auPhVVeacGZJUk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

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