SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1320bd61f0de28abb27b32e508faeaaea02aac60cdd40904fefb108a6eab76bd' 
  AND token = 'z8L7ayTeB6SOjLE44WkXx0byb9L0BKczqZaYatNTz8c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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