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