SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0aaec1364c69b05cd925beacdb5fa15f749ad219c285a5168b28436a13794350' 
  AND token = 'CSbp6HE9kjEinWhzzmM0RBYZoHeL1ufnl0BUtwyQODI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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