SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c161ce86df44b279e917d16efe7d08344bb69291ece3c3a5c92c7623350031d3' 
  AND token = '9WGuY0jpLLU+7HASBVh7MDxJUsKNkroldnnBf8DnvPE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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