Original query:

"Limit  (cost=173739.98..173739.99 rows=3 width=104)"
"  ->  Sort  (cost=173739.98..173739.99 rows=3 width=104)"
"        Sort Key: sd.created_at DESC"
"        ->  Result  (cost=0.43..173739.96 rows=3 width=104)"
"              ->  Append  (cost=0.43..173739.90 rows=3 width=163)"
"                    ->  Index Scan using sd_index_for_12_2018 on sensor_data_partitioned_2018_12 sd  (cost=0.43..173739.90 rows=3 width=163)"
"                          Index Cond: (created_at > '2018-12-14 08:00:00+00'::timestamp with time zone)"
"                          Filter: ((doc ->> 'readerId'::text) = '1006'::text)"