Build SQL criteria to fetch records by ip and url
string $ip The IP:
string $url The URL:
string $limit The maximum number of tokens to return:
string $method The request method:
array An array with (criteria, args)
protected abstract function buildCriteria($ip, $url, $limit, $method);