SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{4542f742497dcdf8b4b6abb9325001ca0827bd3d4a0d3e6acd0bff31f584dff1}Weiding{4542f742497dcdf8b4b6abb9325001ca0827bd3d4a0d3e6acd0bff31f584dff1}' OR prCity = 'Weiding' OR prZip = 'Weiding' OR prStreet LIKE '{4542f742497dcdf8b4b6abb9325001ca0827bd3d4a0d3e6acd0bff31f584dff1}Weiding{4542f742497dcdf8b4b6abb9325001ca0827bd3d4a0d3e6acd0bff31f584dff1}' OR prCountry = 'Weiding') AND (prLocation LIKE '{4542f742497dcdf8b4b6abb9325001ca0827bd3d4a0d3e6acd0bff31f584dff1}Germany{4542f742497dcdf8b4b6abb9325001ca0827bd3d4a0d3e6acd0bff31f584dff1}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{4542f742497dcdf8b4b6abb9325001ca0827bd3d4a0d3e6acd0bff31f584dff1}Germany{4542f742497dcdf8b4b6abb9325001ca0827bd3d4a0d3e6acd0bff31f584dff1}' OR prCountry = 'Germany')