SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8306c97ca750550c2868f88eafd294153753e887902fc6df5367eed09f82a0c7' 
  AND token = 'NkzB6nEiCsuIAursH6Nj9jQzgP6X1Vhutp50s9YbrV4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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