SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e8aeacbf4d607bf8e07a60cc17371c0625abf1712d10c3cc4324d906654e2228' 
  AND token = 'fQFsb39/YvQte6dVntD590WTpduGoiVYxVbxSgOqiCA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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