SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{6a837d8d1c8c3f4855922c8a91be249d6759ff64c597d4a3dcf91bf14d37a0cc}Pego{6a837d8d1c8c3f4855922c8a91be249d6759ff64c597d4a3dcf91bf14d37a0cc}' OR prCity = 'Pego' OR prZip = 'Pego' OR prStreet LIKE '{6a837d8d1c8c3f4855922c8a91be249d6759ff64c597d4a3dcf91bf14d37a0cc}Pego{6a837d8d1c8c3f4855922c8a91be249d6759ff64c597d4a3dcf91bf14d37a0cc}' OR prCountry = 'Pego') AND (prLocation LIKE '{6a837d8d1c8c3f4855922c8a91be249d6759ff64c597d4a3dcf91bf14d37a0cc}Spain{6a837d8d1c8c3f4855922c8a91be249d6759ff64c597d4a3dcf91bf14d37a0cc}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{6a837d8d1c8c3f4855922c8a91be249d6759ff64c597d4a3dcf91bf14d37a0cc}Spain{6a837d8d1c8c3f4855922c8a91be249d6759ff64c597d4a3dcf91bf14d37a0cc}' OR prCountry = 'Spain')