SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e059f6c466cbd15ba1f0ddddec8e41bc58d0c41d372e942ff3a36f27a339a6b2' 
  AND token = 'ucVQvvbNTNrQgWGcD8Vnui0pdr8wk3/uYg3yrls0n14=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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