SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{587b4fa1f6da117e3fd2681b5949052a654f144f4ee19ba6e5f099b8b07fb7b0}Steinbach{587b4fa1f6da117e3fd2681b5949052a654f144f4ee19ba6e5f099b8b07fb7b0}' OR prCity = 'Steinbach' OR prZip = 'Steinbach' OR prStreet LIKE '{587b4fa1f6da117e3fd2681b5949052a654f144f4ee19ba6e5f099b8b07fb7b0}Steinbach{587b4fa1f6da117e3fd2681b5949052a654f144f4ee19ba6e5f099b8b07fb7b0}' OR prCountry = 'Steinbach') AND (prLocation LIKE '{587b4fa1f6da117e3fd2681b5949052a654f144f4ee19ba6e5f099b8b07fb7b0}am{587b4fa1f6da117e3fd2681b5949052a654f144f4ee19ba6e5f099b8b07fb7b0}' OR prCity = 'am' OR prZip = 'am' OR prStreet LIKE '{587b4fa1f6da117e3fd2681b5949052a654f144f4ee19ba6e5f099b8b07fb7b0}am{587b4fa1f6da117e3fd2681b5949052a654f144f4ee19ba6e5f099b8b07fb7b0}' OR prCountry = 'am') AND (prLocation LIKE '{587b4fa1f6da117e3fd2681b5949052a654f144f4ee19ba6e5f099b8b07fb7b0}Wald{587b4fa1f6da117e3fd2681b5949052a654f144f4ee19ba6e5f099b8b07fb7b0}' OR prCity = 'Wald' OR prZip = 'Wald' OR prStreet LIKE '{587b4fa1f6da117e3fd2681b5949052a654f144f4ee19ba6e5f099b8b07fb7b0}Wald{587b4fa1f6da117e3fd2681b5949052a654f144f4ee19ba6e5f099b8b07fb7b0}' OR prCountry = 'Wald') AND (prLocation LIKE '{587b4fa1f6da117e3fd2681b5949052a654f144f4ee19ba6e5f099b8b07fb7b0}Germany{587b4fa1f6da117e3fd2681b5949052a654f144f4ee19ba6e5f099b8b07fb7b0}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{587b4fa1f6da117e3fd2681b5949052a654f144f4ee19ba6e5f099b8b07fb7b0}Germany{587b4fa1f6da117e3fd2681b5949052a654f144f4ee19ba6e5f099b8b07fb7b0}' OR prCountry = 'Germany')