SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f85cb22d4c90f1eaf97ec37c2ff3f8907f984feb21a45b4498684cd34d021158' 
  AND token = 'DjeMFmtXFBHnMXSjMqQBwBwYImwmZQaGTTuDsOke3ms=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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