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