SELECT 
  1 
FROM 
  cscart_ec_print_temp_designs 
WHERE 
  session_id = 'REPJ-7SY8-LD8G-4QLU-5MX9-6J4O-9K0G-EF34' 
  AND product_id = 245 
  AND expires_at > 1770186797 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00041

JSON explain

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