SELECTl0_.idASid_0,l0_.zipcodeASzipcode_1,l0_.localityASlocality_2,l0_.latitudeASlatitude_3,l0_.longitudeASlongitude_4,l0_.osmASosm_5,l0_.tierAStier_6,l0_.cityAScity_7,l0_.slugASslug_8,l0_.searchASsearch_9,l0_.areaASarea_10,l0_.stateASstate_11,l0_.illustrationASillustration_12,l0_.priorityASpriority_13,l0_.city_enAScity_en_14,l0_.state_enASstate_en_15,l0_.search_cityASsearch_city_16,l0_.state_slugASstate_slug_17,l0_.state_reference_idASstate_reference_id_18FROMlocalityl0_WHEREl0_.priorityISNOTNULLANDl0_.id= (SELECTMIN(l1_.id) ASsclr_19FROMlocalityl1_WHEREl1_.priority=l0_.priority) ORDER BYl0_.priorityDESCLIMIT12
SELECTl0_.idASid_0,l0_.zipcodeASzipcode_1,l0_.localityASlocality_2,l0_.latitudeASlatitude_3,l0_.longitudeASlongitude_4,l0_.osmASosm_5,l0_.tierAStier_6,l0_.cityAScity_7,l0_.slugASslug_8,l0_.searchASsearch_9,l0_.areaASarea_10,l0_.stateASstate_11,l0_.illustrationASillustration_12,l0_.priorityASpriority_13,l0_.city_enAScity_en_14,l0_.state_enASstate_en_15,l0_.search_cityASsearch_city_16,l0_.state_slugASstate_slug_17,l0_.state_reference_idASstate_reference_id_18FROMlocalityl0_WHEREl0_.priorityISNOTNULLANDl0_.id= (
SELECTMIN(l1_.id) ASsclr_19FROMlocalityl1_WHEREl1_.priority=l0_.priority
)
ORDER BYl0_.priorityDESCLIMIT12
SELECTl0_.idASid_0,l0_.zipcodeASzipcode_1,l0_.localityASlocality_2,l0_.latitudeASlatitude_3,l0_.longitudeASlongitude_4,l0_.osmASosm_5,l0_.tierAStier_6,l0_.cityAScity_7,l0_.slugASslug_8,l0_.searchASsearch_9,l0_.areaASarea_10,l0_.stateASstate_11,l0_.illustrationASillustration_12,l0_.priorityASpriority_13,l0_.city_enAScity_en_14,l0_.state_enASstate_en_15,l0_.search_cityASsearch_city_16,l0_.state_slugASstate_slug_17,l0_.state_reference_idASstate_reference_id_18FROMlocalityl0_WHEREl0_.priorityISNOTNULLANDl0_.id= (SELECTMIN(l1_.id) ASsclr_19FROMlocalityl1_WHEREl1_.priority=l0_.priority) ORDER BYl0_.priorityDESCLIMIT12;
SELECTp0_.idASid_0,p0_.uidASuid_1,p0_.created_atAScreated_at_2,p0_.updated_atASupdated_at_3,p0_.statusASstatus_4,p0_.stateASstate_5,p0_.typeAStype_6,p0_.areaASarea_7,p0_.roomsASrooms_8,p0_.floorASfloor_9,p0_.elevatorASelevator_10,p0_.furnishedASfurnished_11,p0_.heatingASheating_12,p0_.equipmentsASequipments_13,p0_.benefitsASbenefits_14,p0_.rentASrent_15,p0_.chargesAScharges_16,p0_.servicesASservices_17,p0_.availability_dateASavailability_date_18,p0_.descriptionASdescription_19,p0_.titleAStitle_20,p0_.activeASactive_21,p0_.scoreASscore_22,p0_.extrafieldsASextrafields_23,p0_.owner_idASowner_id_24,p0_.address_idASaddress_id_25FROMpropertyp0_LEFT JOINaddressa1_ONp0_.address_id=a1_.idWHEREp0_.status=2ANDp0_.idIN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ORDER BYp0_.activeDESC,p0_.scoreDESC,p0_.created_atDESC
SELECTp0_.idASid_0,p0_.uidASuid_1,p0_.created_atAScreated_at_2,p0_.updated_atASupdated_at_3,p0_.statusASstatus_4,p0_.stateASstate_5,p0_.typeAStype_6,p0_.areaASarea_7,p0_.roomsASrooms_8,p0_.floorASfloor_9,p0_.elevatorASelevator_10,p0_.furnishedASfurnished_11,p0_.heatingASheating_12,p0_.equipmentsASequipments_13,p0_.benefitsASbenefits_14,p0_.rentASrent_15,p0_.chargesAScharges_16,p0_.servicesASservices_17,p0_.availability_dateASavailability_date_18,p0_.descriptionASdescription_19,p0_.titleAStitle_20,p0_.activeASactive_21,p0_.scoreASscore_22,p0_.extrafieldsASextrafields_23,p0_.owner_idASowner_id_24,p0_.address_idASaddress_id_25FROMpropertyp0_LEFT JOINaddressa1_ONp0_.address_id=a1_.idWHEREp0_.status=2ANDp0_.idIN (
?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?
)
ORDER BYp0_.activeDESC,p0_.scoreDESC,p0_.created_atDESC
SELECTp0_.idASid_0,p0_.uidASuid_1,p0_.created_atAScreated_at_2,p0_.updated_atASupdated_at_3,p0_.statusASstatus_4,p0_.stateASstate_5,p0_.typeAStype_6,p0_.areaASarea_7,p0_.roomsASrooms_8,p0_.floorASfloor_9,p0_.elevatorASelevator_10,p0_.furnishedASfurnished_11,p0_.heatingASheating_12,p0_.equipmentsASequipments_13,p0_.benefitsASbenefits_14,p0_.rentASrent_15,p0_.chargesAScharges_16,p0_.servicesASservices_17,p0_.availability_dateASavailability_date_18,p0_.descriptionASdescription_19,p0_.titleAStitle_20,p0_.activeASactive_21,p0_.scoreASscore_22,p0_.extrafieldsASextrafields_23,p0_.owner_idASowner_id_24,p0_.address_idASaddress_id_25FROMpropertyp0_LEFT JOINaddressa1_ONp0_.address_id=a1_.idWHEREp0_.status=2ANDp0_.idIN (313,321,324,314,322,317,316,302,320,334,329,325,327,335,312,346,344,343,318,323,309,326,332,333) ORDER BYp0_.activeDESC,p0_.scoreDESC,p0_.created_atDESC;