SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1a661e8736646ad1c30c9159eabf1f3165790870173aecb5e4264a8b1a70e285' 
  AND token = '1oynsoQRFGzfC7Bv+PVYCav98kMbnI/BBpGUqr8Ly44=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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