SELECT 
  1 
FROM 
  cscart_ec_print_temp_designs 
WHERE 
  session_id = '71XL-YQOV-5ZBJ-BGGO-M864-LXWD-P0BV-ER2G' 
  AND product_id = 145 
  AND expires_at > 1771079736 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00034

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}