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

Query time 0.00024

JSON explain

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