SELECT 
  SQL_CALC_FOUND_ROWS chain_id 
FROM 
  jmj_buy_together 
WHERE 
  1 
  AND status = 'A' 
  AND display_in_promotions = 'Y' 
  AND (
    date_from = 0 
    OR date_from <= 1765697972
  ) 
  AND (
    date_to = 0 
    OR date_to >= 1765697972
  ) 
LIMIT 
  0, 3

Query time 0.01033

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "3.90"
    },
    "table": {
      "table_name": "jmj_buy_together",
      "access_type": "ALL",
      "rows_examined_per_scan": 9,
      "rows_produced_per_join": 1,
      "filtered": "11.11",
      "cost_info": {
        "read_cost": "3.70",
        "eval_cost": "0.20",
        "prefix_cost": "3.90",
        "data_read_per_join": "104"
      },
      "used_columns": [
        "chain_id",
        "date_from",
        "date_to",
        "display_in_promotions",
        "status"
      ],
      "attached_condition": "((`jmj_test`.`jmj_buy_together`.`status` = 'A') and (`jmj_test`.`jmj_buy_together`.`display_in_promotions` = 'Y') and ((`jmj_test`.`jmj_buy_together`.`date_from` = 0) or (`jmj_test`.`jmj_buy_together`.`date_from` <= 1765697972)) and ((`jmj_test`.`jmj_buy_together`.`date_to` = 0) or (`jmj_test`.`jmj_buy_together`.`date_to` >= 1765697972)))"
    }
  }
}