SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bbcbc1eed6d7848001c3a85e5e20bff4edb7f1391722f603dada943c86160d67' 
  AND token = 'kui0DUWORFKN8L4b3YGHEjGxySZBvyq99w+1qbTEv+Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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