SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{8fef9931d0919eb58151a0bcf9067f007683f773cdf6d27fc15a09fc00a063a2}Градец{8fef9931d0919eb58151a0bcf9067f007683f773cdf6d27fc15a09fc00a063a2}' OR prCity = 'Градец' OR prZip = 'Градец' OR prStreet LIKE '{8fef9931d0919eb58151a0bcf9067f007683f773cdf6d27fc15a09fc00a063a2}Градец{8fef9931d0919eb58151a0bcf9067f007683f773cdf6d27fc15a09fc00a063a2}' OR prCountry = 'Градец') AND (prLocation LIKE '{8fef9931d0919eb58151a0bcf9067f007683f773cdf6d27fc15a09fc00a063a2}България{8fef9931d0919eb58151a0bcf9067f007683f773cdf6d27fc15a09fc00a063a2}' OR prCity = 'България' OR prZip = 'България' OR prStreet LIKE '{8fef9931d0919eb58151a0bcf9067f007683f773cdf6d27fc15a09fc00a063a2}България{8fef9931d0919eb58151a0bcf9067f007683f773cdf6d27fc15a09fc00a063a2}' OR prCountry = 'България')