SELECT 
  1 
FROM 
  cscart_june_setupec_print_temp_designs 
WHERE 
  session_id = 'G45Y-2INL-0J9N-WWPU-Z0Z5-4G9O-1JJ2-L0Z7' 
  AND product_id = 31 
  AND expires_at > 1781898015 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00048

JSON explain

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