SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{69c4d440ec3f294e48ecca50f5d37738421d2871fe5407f1b43fbee81c24a649}Beograd{69c4d440ec3f294e48ecca50f5d37738421d2871fe5407f1b43fbee81c24a649}' OR prCity = 'Beograd' OR prZip = 'Beograd' OR prStreet LIKE '{69c4d440ec3f294e48ecca50f5d37738421d2871fe5407f1b43fbee81c24a649}Beograd{69c4d440ec3f294e48ecca50f5d37738421d2871fe5407f1b43fbee81c24a649}' OR prCountry = 'Beograd') AND (prLocation LIKE '{69c4d440ec3f294e48ecca50f5d37738421d2871fe5407f1b43fbee81c24a649}Serbia{69c4d440ec3f294e48ecca50f5d37738421d2871fe5407f1b43fbee81c24a649}' OR prCity = 'Serbia' OR prZip = 'Serbia' OR prStreet LIKE '{69c4d440ec3f294e48ecca50f5d37738421d2871fe5407f1b43fbee81c24a649}Serbia{69c4d440ec3f294e48ecca50f5d37738421d2871fe5407f1b43fbee81c24a649}' OR prCountry = 'Serbia')