SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5c63c541a31bf56bd3a671f90e5ec1f33162a9e2ea1e6fe1e28555995bb6f37c' 
  AND token = 'yNmhtfo6Ent/y2809Su7hbIZNdBV3BEhcWYS3BM4tEU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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