SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd17df4fc0e94eae2fd3340763a35832a8980ba4d507b72ba7b71f07b52e26ff7' 
  AND token = 'tQrCfaQg74plRntdJjqJAUr/7zTHgEVctdWGh6lBIbU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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