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

Query time 0.00040

JSON explain

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