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