SELECT p.iPostID, p.iPostType, p.iAdType, p.iUserType, p.strTitle, p.iSubType, p.iItemType, p.iPrice, p.iPriceUnit, json_unquote(p.jsonLocation->"$.city") AS city, p.jsonExtra, p.tmPosted, p.iShowImg, p.strImages, p.strVideos, p.strPostURL FROM posts p WHERE p.iActive=1 AND p.iPostType=12 AND iPostID IN (SELECT t.iPostID FROM posttext t WHERE t.iDomID=101 AND MATCH (t.strSearch) AGAINST ('+online +free +advertising +websites' IN BOOLEAN MODE)) AND iCityID IN (67615,68136,67703,70352,69533,68836,68440,68884,69334,67762,67157,67962,68083,67752,67770) ORDER BY FIELD(iCityID, 67615,68136,67703,70352,69533,68836,68440,68884,69334,67762,67157,67962,68083,67752,67770) ASC, p.tmPosted DESC LIMIT 24