SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{6d3b7e6f0258cdcc78ef3e8ba0ff80105ff6033cee659692f57da4a9db18e1e6}Višnjan{6d3b7e6f0258cdcc78ef3e8ba0ff80105ff6033cee659692f57da4a9db18e1e6}' OR prCity = 'Višnjan' OR prZip = 'Višnjan' OR prStreet LIKE '{6d3b7e6f0258cdcc78ef3e8ba0ff80105ff6033cee659692f57da4a9db18e1e6}Višnjan{6d3b7e6f0258cdcc78ef3e8ba0ff80105ff6033cee659692f57da4a9db18e1e6}' OR prCountry = 'Višnjan') AND (prLocation LIKE '{6d3b7e6f0258cdcc78ef3e8ba0ff80105ff6033cee659692f57da4a9db18e1e6}Croatia{6d3b7e6f0258cdcc78ef3e8ba0ff80105ff6033cee659692f57da4a9db18e1e6}' OR prCity = 'Croatia' OR prZip = 'Croatia' OR prStreet LIKE '{6d3b7e6f0258cdcc78ef3e8ba0ff80105ff6033cee659692f57da4a9db18e1e6}Croatia{6d3b7e6f0258cdcc78ef3e8ba0ff80105ff6033cee659692f57da4a9db18e1e6}' OR prCountry = 'Croatia')