SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd687a1f84ca1c9578df00208af3413461c6a51b1ddf2ae0a77551aa42cd0c565' 
  AND token = '2YwDoQf6t1G35GxVXKuva0QM1nf8hvtH/OvyZcLgvoU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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