SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24c31f64f16dddb6d3812e3dc2b3fdba3252507f1ef5746d93f5afe42271f645' 
  AND token = 'xdIpbj+4tF2buYwyucqjsRfjdn6z528TSZVQOSkDGY0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

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