SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{cfb254fd706afeb2caf3e0ee7e26f87800bc15ab8b02b633aeb43480bc7f7e62}Simbach{cfb254fd706afeb2caf3e0ee7e26f87800bc15ab8b02b633aeb43480bc7f7e62}' OR prCity = 'Simbach' OR prZip = 'Simbach' OR prStreet LIKE '{cfb254fd706afeb2caf3e0ee7e26f87800bc15ab8b02b633aeb43480bc7f7e62}Simbach{cfb254fd706afeb2caf3e0ee7e26f87800bc15ab8b02b633aeb43480bc7f7e62}' OR prCountry = 'Simbach') AND (prLocation LIKE '{cfb254fd706afeb2caf3e0ee7e26f87800bc15ab8b02b633aeb43480bc7f7e62}am{cfb254fd706afeb2caf3e0ee7e26f87800bc15ab8b02b633aeb43480bc7f7e62}' OR prCity = 'am' OR prZip = 'am' OR prStreet LIKE '{cfb254fd706afeb2caf3e0ee7e26f87800bc15ab8b02b633aeb43480bc7f7e62}am{cfb254fd706afeb2caf3e0ee7e26f87800bc15ab8b02b633aeb43480bc7f7e62}' OR prCountry = 'am') AND (prLocation LIKE '{cfb254fd706afeb2caf3e0ee7e26f87800bc15ab8b02b633aeb43480bc7f7e62}Inn{cfb254fd706afeb2caf3e0ee7e26f87800bc15ab8b02b633aeb43480bc7f7e62}' OR prCity = 'Inn' OR prZip = 'Inn' OR prStreet LIKE '{cfb254fd706afeb2caf3e0ee7e26f87800bc15ab8b02b633aeb43480bc7f7e62}Inn{cfb254fd706afeb2caf3e0ee7e26f87800bc15ab8b02b633aeb43480bc7f7e62}' OR prCountry = 'Inn') AND (prLocation LIKE '{cfb254fd706afeb2caf3e0ee7e26f87800bc15ab8b02b633aeb43480bc7f7e62}Germany{cfb254fd706afeb2caf3e0ee7e26f87800bc15ab8b02b633aeb43480bc7f7e62}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{cfb254fd706afeb2caf3e0ee7e26f87800bc15ab8b02b633aeb43480bc7f7e62}Germany{cfb254fd706afeb2caf3e0ee7e26f87800bc15ab8b02b633aeb43480bc7f7e62}' OR prCountry = 'Germany')