SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aa7d40b00066a27bb0376e5e028bc8b784e4741daa04f83f722c9b9b64ae9c6e' 
  AND token = 'dLDx1fwfJjZPdZeLnpF8CXOUV/QYo01/HJJP6QpLjW8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

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