SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8166c44f20f5a4c1ac35ef4f3829dd62720f5fc4590655ebe2b9686a3065d0fe' 
  AND token = 'Be0rW4w1piOFqqIOnw6h/+TgE7qh2ov+oK9GWOJsxxU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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