SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd3ba59e2cb0587385338322b396b8ff59a44cf1234ab9c1a2e5aacef82008d3b' 
  AND token = 'KUoXWDVuOiEEPaHnbFEFNpyuP0qUWr/Gx6YsguwXLzI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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