SELECT 
  1 
FROM 
  cscart_june_setupec_print_temp_designs 
WHERE 
  session_id = 'N38G-WLM1-7LVH-TOY2-N1RR-ZOIT-TO6Z-3S3H' 
  AND product_id = 248 
  AND expires_at > 1781893528 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00028

JSON explain

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