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

Query time 0.00025

JSON explain

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