SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bf8032016f1cf003e3e6852aa7a285de536d5631deeecfa528500b75eef17d4e' 
  AND token = 'CD26U8nW4nWwDec47lvbL4J89Lf1AroccuMGvgUElKk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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