SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{01a036425b5417deb8af52828d55688a79b4714db24f4fa45f32d4025c5fe6f9}Berlin{01a036425b5417deb8af52828d55688a79b4714db24f4fa45f32d4025c5fe6f9}' OR prCity = 'Berlin' OR prZip = 'Berlin' OR prStreet LIKE '{01a036425b5417deb8af52828d55688a79b4714db24f4fa45f32d4025c5fe6f9}Berlin{01a036425b5417deb8af52828d55688a79b4714db24f4fa45f32d4025c5fe6f9}' OR prCountry = 'Berlin') AND (prLocation LIKE '{01a036425b5417deb8af52828d55688a79b4714db24f4fa45f32d4025c5fe6f9}/{01a036425b5417deb8af52828d55688a79b4714db24f4fa45f32d4025c5fe6f9}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{01a036425b5417deb8af52828d55688a79b4714db24f4fa45f32d4025c5fe6f9}/{01a036425b5417deb8af52828d55688a79b4714db24f4fa45f32d4025c5fe6f9}' OR prCountry = '/') AND (prLocation LIKE '{01a036425b5417deb8af52828d55688a79b4714db24f4fa45f32d4025c5fe6f9}Neu{01a036425b5417deb8af52828d55688a79b4714db24f4fa45f32d4025c5fe6f9}' OR prCity = 'Neu' OR prZip = 'Neu' OR prStreet LIKE '{01a036425b5417deb8af52828d55688a79b4714db24f4fa45f32d4025c5fe6f9}Neu{01a036425b5417deb8af52828d55688a79b4714db24f4fa45f32d4025c5fe6f9}' OR prCountry = 'Neu') AND (prLocation LIKE '{01a036425b5417deb8af52828d55688a79b4714db24f4fa45f32d4025c5fe6f9}Venedig{01a036425b5417deb8af52828d55688a79b4714db24f4fa45f32d4025c5fe6f9}' OR prCity = 'Venedig' OR prZip = 'Venedig' OR prStreet LIKE '{01a036425b5417deb8af52828d55688a79b4714db24f4fa45f32d4025c5fe6f9}Venedig{01a036425b5417deb8af52828d55688a79b4714db24f4fa45f32d4025c5fe6f9}' OR prCountry = 'Venedig') AND (prLocation LIKE '{01a036425b5417deb8af52828d55688a79b4714db24f4fa45f32d4025c5fe6f9}Germany{01a036425b5417deb8af52828d55688a79b4714db24f4fa45f32d4025c5fe6f9}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{01a036425b5417deb8af52828d55688a79b4714db24f4fa45f32d4025c5fe6f9}Germany{01a036425b5417deb8af52828d55688a79b4714db24f4fa45f32d4025c5fe6f9}' OR prCountry = 'Germany')