One more think about link you posted - codex.
There is line with code below "Display posts that have meta key 'color' NOT LIKE value 'blue' OR meta key 'price' with values BETWEEN 20 and 100:"
I use exact code below that text, but I have 3 conditions, not 2. When you put 3rd condition sth goes wrong and SQL query makes it lost connection.