SELECT 
  1 
FROM 
  cscart_ec_print_temp_designs 
WHERE 
  session_id = 'BRQJ-3SAP-GZUP-6MTP-SP9G-3SGT-0SWR-KBZJ' 
  AND product_id = 248 
  AND expires_at > 1770980879 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00042

JSON explain

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