SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd3e312984d3be0832d0f4093c17852df3a68f9c0da09efa328052a1e622e6928' 
  AND token = 'xzmCkyMOnwGHr/lXRXWKG6ulbyc/RIZab2q1e/Ms43E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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