SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6ec094d2c85616d9629dbcd2c418946ebe10c9df7b048a9f3ef203ff0ab4ad5c' 
  AND token = 'juTJMi5ivjR6OrA5bFGpijp7kO6ylEHODaj1KwLHvuM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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