SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{52c0ffb104123e7629b8f73fb1297cf4660cb50214d042d48c74831bbc03a2a1}Bernhardsthal{52c0ffb104123e7629b8f73fb1297cf4660cb50214d042d48c74831bbc03a2a1}' OR prCity = 'Bernhardsthal' OR prZip = 'Bernhardsthal' OR prStreet LIKE '{52c0ffb104123e7629b8f73fb1297cf4660cb50214d042d48c74831bbc03a2a1}Bernhardsthal{52c0ffb104123e7629b8f73fb1297cf4660cb50214d042d48c74831bbc03a2a1}' OR prCountry = 'Bernhardsthal') AND (prLocation LIKE '{52c0ffb104123e7629b8f73fb1297cf4660cb50214d042d48c74831bbc03a2a1}Austria{52c0ffb104123e7629b8f73fb1297cf4660cb50214d042d48c74831bbc03a2a1}' OR prCity = 'Austria' OR prZip = 'Austria' OR prStreet LIKE '{52c0ffb104123e7629b8f73fb1297cf4660cb50214d042d48c74831bbc03a2a1}Austria{52c0ffb104123e7629b8f73fb1297cf4660cb50214d042d48c74831bbc03a2a1}' OR prCountry = 'Austria')