SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ae312b7b851ec3eb0a9387cf22dc48d08a370d7a8cd663e67d7169c5b477fbf9' 
  AND token = 'uTEKPx+pUIrI0ZFcA/ztKv5Q7ReJRU5DJ9mDmSEiw0A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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