SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40fd9da347f35ce3cf14079952a12621a813d3edb45141e764d2467ada5cde2d' 
  AND token = 'kiYhfmLfm01v7XQ43zfLB63M6QAdLt4L1rFN9S0RXsI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00053

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}