SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '64171787cd8ee81f1057f4f26078411579e2fea3289386a6d236d04f1184ece5' 
  AND token = '+wkaMCswSseaViPbTCHT3TX6/LtL/9JPWLwCrpC9JRo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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