SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '39844e31956bab383e308031963188c2abf3f8dd1e438a9d632276a530a38c59' 
  AND token = '5O9Ir3buFsVbzoLl1bcLQGmWhFXjslEmhug9EbGF1vc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}