Search for variables: execute query when at least 2 chars are entered